1

I want to display an Overview map - I know how to do it using a separate PageLayout or MapControl - but I noticed ESRI has an OverviewClass - how do I make use of this with the AxMapControl?

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Sep 8, 2011 at 15:24

2 Answers 2

2

Instead of using the Overview class, I would just use two mapcontrols: a main map and an overview map.

The overview map would listen to ITransformationEvents on the main map's displaytransformation. When VisibleBoundsUpdated fires, update the overview map (centering it on same point as main map, but not changing the scale). In the event handler for the overview map control's afterdraw event, draw a red rectangle on the map representing the extent of the main map.

answered Sep 12, 2011 at 19:08
0

You should be able to use it the same was you use for example a North Arrow, because it's implementing IMapSurround see: Concepts & Samples: Map surround

answered Sep 12, 2011 at 14:55
1
  • I reworded my question to be a little more clear - I am trying to use it with an AxMapControl, not an AxPageLayoutControl. Commented Sep 12, 2011 at 18:20

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.