How to get the boundaries of a MAP

2957
2
07-22-2014 07:37 AM
Aswin_KumarJayaraman
New Contributor

Hello,

 

I want to get the boundaries of a ESRI MAP. In google there is some api called getBOunds which will give me the NE and SW lat and Long.

I want something very similar.

I searched in the api and found that there are some extent class through which we can get it. But for it it looks like we have to set it at first point.

I don't want to set it explicitly. As and when the user zooms in or out i wanted to know the bounds so that i can load the data for that bound.

 

Thanks & regards,

Aswin

0 Kudos
2 Replies
DavidLednik
Occasional Contributor II

Hi,

Look for visible extent. Which is an envelope of the what the map is drawing.

For a more specific reply we need to know what product you're using (ArcMap, JS API, Runtime SDK....)

Regards,

David

0 Kudos
KenBuja
MVP Esteemed Contributor

Also, add some tags to your question and move it to an appropriate group. Otherwise, you won't get many responses to your question.

0 Kudos