From cd1e9b076fd69f22ddf13115600991ec653968a1 Mon Sep 17 00:00:00 2001 From: Matthew Juhl <mjuhl24@gmail.com> Date: Fri, 22 Jan 2010 21:10:53 +0000 Subject: [PATCH] Don't zoom when changing locations. --- plugins/customindex/views/default/customindex/globesplash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/customindex/views/default/customindex/globesplash.js b/plugins/customindex/views/default/customindex/globesplash.js index 92312b2f..c0e37985 100644 --- a/plugins/customindex/views/default/customindex/globesplash.js +++ b/plugins/customindex/views/default/customindex/globesplash.js @@ -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 -- GitLab