judero01col / GMap.NET

GMap.NET Windows Forms & Presentation is an excellent open source, powerful, free and cross-platform .NET control. Allows the use of routing, geocoding, directions and maps from Google, Yahoo!, Bing, OpenStreetMap, ArcGIS, Pergo, SigPac, Yendux, Mapy.cz, Maps.lt, iKarte.lv, NearMap, HereMap, CloudMade, WikiMapia, MapQuest and many more.
Other
466 stars 205 forks source link

Map scale #170

Open ghost opened 2 years ago

ghost commented 2 years ago

Hello, how can I display a dynamically resizable scale on the map? I mean when a user zooms in, the scale will recalculate, adjust and display to the user. I was not able to find any component in the library. I only found one can calculate it but there is no UI component for it. Thanks a lot Jan

ghost commented 2 years ago

I found a property on the GMap component that does this: MapControl.MapScaleInfoEnabled = true; MapControl.MapScaleInfoPosition = MapScaleInfoPosition.Top;

I hope this helps somebody.