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
440 stars 197 forks source link

Map scale #170

Open janondracek opened 1 year ago

janondracek commented 1 year 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

janondracek commented 1 year ago

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

I hope this helps somebody.