csergent08

Zoom To Polygon and Selected Point Outside Polygon

Discussion created by csergent08 Champion on May 23, 2011
Latest reply on Jun 2, 2011 by csergent08
I want my application to zoom to the extent of our city corporate boundaries and if an address point is outside of the city corporate boundary, I want to zoom to the extent where the city corporate boundary and the address point are visible.


I have been able to get a envelope for the point, so what would the syntax be if I am correct to set the extent of the envelope of the city corporate boundary polygon and the created envelope from my address point combined?

Here is our external web service for our corporate boundary:
http://maps.decaturil.gov/ArcGIS/rest/services/InternetVector/MapServer/39

If there is a point outside of that polygon, how do I include it and zoom to both?

Still trying to figure out how I should ask this question, so please ask for clarity if needed.

chris

Outcomes