Re: Regarding Version 2 of the API
I'd like to see something that will still allow us to:
(auto zoom)
var center = new GPoint( (maxLng + minLng)/2, (maxLat+minLat)/2 );
var delta = new GSize(maxLng - minLng, maxLat - minLat);
var minZoom = map.spec.getLowestZoomLevel(center, delta, map.viewSize);
map.centerAndZoom(center, minZoom);
0 Comments:
Yorum Gönder
<< Home