Fixed
Status Update
Comments
de...@gtempaccount.com <de...@gtempaccount.com> #2
Workaround, not perfect, but does the trick for me.
var zoomlevel = map.get_zoom();
map.set_zoom(zoomlevel -1);
map.set_center(marker.get_position());
map.set_zoom(zoomlevel);
var zoomlevel = map.get_zoom();
map.set_zoom(zoomlevel -1);
map.set_center(marker.get_position());
map.set_zoom(zoomlevel);
d....@gtempaccount.com <d....@gtempaccount.com> #3
Thanks for reporting. The error was easily reproducible.
Description
current location, only the markers move, and the map doesn't.
The location of the markers will become incorrect.
If the distance from the old center to the new center is large enough, the
bug does not occur.
A test case:
The javascript in there should be self explaning, but here is the relevant
code:
<a href="javascript:center(52.44,4.00);">A. SetCenter 52.44</a>
<a href="javascript:center(52.45,4.00);">B. SetCenter 52.45</a>
<script>
function center(lat, lon) {
map.set_center(new google.maps.LatLng(lat, lon));
}
</script>
Hope this helps,
Tomas