zoom to layer

Last post 7/24/2009 12:12:00 AM by Chris Pietschmann. 2 replies. << Back to Web.Maps.VE v2.0 General
6/29/2009 1:17:55 PM
phil.johnson

zoom to layer

I have multiple KML layers that i will be adding to my map, and i wanted a way to: a) have a list of those layers and details about them in a listbox b) be able to click on an item in that list and have the map immediately center/zoom on that layer it represents. Are their ways using your code to do something like this? I'm looking for a zoom to layer function, and/or a unique ID for each layer that I add so that i can reference it later, or some other solution possibly.
7/7/2009 12:49:17 PM
phil.johnson

Re:zoom to layer

So i assume by the lack of any response that 'zooming to a layer' functionality is not supported then, and I shouldn't buy this product if I'm looking for this functionality?
7/24/2009 12:12:00 AM
Chris Pietschmann

Re:zoom to layer

The following thread about "SetMapView" should help you implement this:

http://simplovation.com/forums/t/01afa2ff-8bc2-4842-9cbb-a67586d00b6b.aspx