ThinkGeo.com    |     Documentation    |     Premium Support

OSM Sample MS12 Winform

Hello,

In the process of migrating MS 10 => 12
I’m looking for a OSM sample code for WinForm.

Can you help me ?

Patrick.

Patrick,
Here is the sample for the MS12 winform. In mapsuite 12 we use the wpf in the winform application.

To use the OSM. You can use the following code to add the OpenStreetMapOverlay to your map.

OpenStreetMapOverlay overlay = new OpenStreetMapOverlay(“OpenStreetMap”);
Map.Overlays.Add(overlay);

Thanks

Frank