dolot

How to zoom to multiple shapes

Discussion created by dolot on Oct 23, 2013
Latest reply on Oct 23, 2013 by kenbuja
I have a situation where the user want to be able to select several shapes via a grid (the shape records having been previously loaded into a database) and then have the map display zoom to the selected shapes.  I have this working with a single shape by simply setting the map extent to the iEnvelope of the shape.  But how do I do this for multiple shapes?  Is there a way to get the envelope for a group of shapes on a map?

Outcomes