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?

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.

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

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

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.