Re: Errors on "this.topLeftTile" when initial map.centerAndZoom not done
hi,
recap: i do:
- map = new GMap(document.getElementById('_myMap'));
- map.addControl(new GLargeMapControl());
- adding other controls
- myLoadXMLdata(), there:
- - map.addOverlay(markers),
- - new GPolyline()
- - and other stuff
- myRecenterMapActualPoints(), there:
- - get Bounding Box of all markers
- - myCenterAndZoomOnBounds()*
*) and only here MAY take place a map.centerAndZoom() this function is
based on
http://groups.google.com/group/Google-Maps-API/tree/browse_frm/thread/996f83e075e51fdf/d1d67c0e17c5a490?rnum=1&_done=%2Fgroup%2FGoogle-Maps-API%2Fbrowse_frm%2Fthread%2F996f83e075e51fdf%3Ftvc%3D1%26#doc_32b12b07a9e84b15
so i only can say that centerAndZoom really takes place AFTER
addOverlay. no errors in FF or MSIE (execpt the caching one described
above)
0 Comments:
Yorum Gönder
<< Home