[mapguide-users] View entire layer

A H hizperion at hotmail.com
Thu Sep 13 23:41:42 EDT 2007


hello,

in Mapinfo, there's a 'View entire layer' function which will zoom and
center on a selected layer. i have a function that plots multiple points on
a layer and placed on a map, and i want the viewer to zoom and center to the
area which contains all the points created after each query.

a hard way to do this i suppose is by taking the maximum and minimum
latitude and longitude, calculate the zoom level, and use ZoomToView(). but
is there any API that can do this operation?
-- 
View this message in context: http://www.nabble.com/View-entire-layer-tf4439965s16610.html#a12667952
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list