I have developed an application that uses a windows form with a panel for OSM.
For this map I have added markers. SO far everything is OK.
It works fine on my development PC running Windows 11 and also on my laptop where I use Windows 7.
But, on some user installation of this app these markers do not show up on the map.
The map itself is there but no markers.
They do not get any error message, the markers are just not there.
To me it looks like the users with this issue are missing some dlls or other needed code.
Any ideas what can be wrong here or a way to trace what causes this issue?
Here is the last part of methods I use to add markers:
var marker6 = new GMap.NET.WindowsForms.Markers.GMarkerGoogle( new GMap.NET.PointLatLng(Convert.ToDouble(str), Convert.ToDouble(str)), GMap.NET.WindowsForms.Markers.GMarkerGoogleType.yellow_dot); marker6.ToolTipText = str; marker6.ToolTip.Fill = Brushes.Ivory; marker6.ToolTip.Foreground = Brushes.Black; markersOverlay6.Markers.Add(marker6); } } gmap.Overlays.Add(markersOverlay6); double tempzoom = gmap.Zoom; gmap.Zoom = 4; gmap.Zoom = tempzoom; gmap.Update(); gmap.Refresh();
3 posts - 2 participants
Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/markers-do-not-show-on-some-user-pc/99301