Skip to content

How to get extent of the currently visible map? #2167

Answered by pauldendulk
urossavelj asked this question in Q&A
Discussion options

You must be logged in to vote

The Map.Extent contains the extent of the static map definition, so the extent over all data in the layers. The Viewport is the dynamic visible window. You can get the extent with: Map.Navigator.Viewport.ToExtent();

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@urossavelj
Comment options

@pauldendulk
Comment options

Answer selected by urossavelj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants