Select to view content in your preferred language

North Arrow and Scale Bar directly within Map Control?

1283
1
12-21-2010 06:54 AM
KevinFournier
Emerging Contributor
My client wants a north arrow and scale bar directly within the map control in the same way as you see in Google maps. My online searches thus far seem to indicate that the built-in support for these elements in ArcEngine is limited to map surrounds when used in conjunction with page layouts.

I could draw these elements manually, but I'd rather not reinvent the wheel if necessary. I don't need thorough code, just a clue as to how this can be done, if at all.
0 Kudos
1 Reply
NeilClemmons
Honored Contributor
Your best bet is to probably try displaying these items inside something like a picture box control that is placed directly on top of the map control on the form.  Set the display properties of the control so that the control itself isn't visible (i.e. doesn't have a border, has a transparent background, etc).  You can then set the draw order of the controls so that the picture box control is higher up and always draws on top.
0 Kudos