Skip to content
Snippets Groups Projects
Commit cd1e9b07 authored by Matthew Juhl's avatar Matthew Juhl
Browse files

Don't zoom when changing locations.

parent 1e33693e
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ function openLocation(lng, lat, username, location, displayname, title, comment,
var latlng = new FE.LatLng(lat,lng);
if(!pinsonly){
setTimeout(function(){map1.panTo(latlng,1.5,"easeInOutQuad")}, 50);
map1.zoomTo(19505000,1.5,"easeInOutQuad");
//map1.zoomTo(19505000,1.5,"easeInOutQuad");
}
label = window.label = new FE.Pushpin(latlng,new FE.Icon(config_url+'mod/customindex/map-pin-12.png'));
//make pins clickable
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment