mirror of
https://github.com/phonegap/phonegap-start.git
synced 2026-01-09 14:37:55 -05:00
Merged pull request #1 from dansilivestru/master.
Geo location error handler
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.idea
|
||||
BIN
assets/img/gpsfailed.png
Normal file
BIN
assets/img/gpsfailed.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
@@ -43,6 +43,8 @@ run(function () {
|
||||
path += location + "&sensor=false";
|
||||
|
||||
x$('img#static_map').attr('src', path);
|
||||
}, function () {
|
||||
x$('img#static_map').attr('src', "assets/img/gpsfailed.png");
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user