Permalink
Browse files

changes to togglelocation

  • Loading branch information...
1 parent 0b858e0 commit 7cf14f1000d9e3d03645a5a9af8108e73eff47d1 @dhivyat committed Sep 16, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.html
View
@@ -68,10 +68,10 @@
if (navigator.geolocation) {
navigator.geolocation.watchPosition(
function(position) {
- if (followLocation) {
+ // if (followLocation) {
latlng = new GLatLng(position.coords.latitude, position.coords.longitude);
map.setCenter(latlng, zoom);
- };
+ // };
},
function(error){
// handle when we can't get a position

0 comments on commit 7cf14f1

Please sign in to comment.