forked from orson/bachemap
ooops, my bad x2
This commit is contained in:
parent
07bf150f35
commit
999fe39ad4
@ -121,7 +121,7 @@
|
||||
let targetLatLng = map.containerPointToLatLng(targetCenterPoint);
|
||||
|
||||
// Fly to the adjusted center so the marker appears 25% lower from the center
|
||||
map.flyTo(latlng, 18, { duration: 0.7 });
|
||||
map.flyTo(targetCenterPoint, 18, { duration: 0.7 });
|
||||
map.once('moveend', function() {
|
||||
user_marker.setLatLng(latlng).bindPopup('<button id="pinner-pop">Agregar bache-o-cosa</button>').openPopup();
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user