Home > Mobile >  ArcGIS web map in c# winform
ArcGIS web map in c# winform

Time:09-17

I want to implement an ArcGIS web map in my winform C# application. I have found a bunch of resources for doing this in a WPF application, but nothing for the winform platform. I have an API-Key from ArcGIS and have already made a webmap.

Does anyone know if this is even possible or do I need to use WPF to do this? I have tried the GMap open source, and it does support some maps from ArcGIS, but I have not figured out how to add "custom" webmaps from a link. I would also need to add credentials to my example.

F.eks Map.MapProvider = GMap.NET.MapProviders.ArcGIS_World_Street_MapProvider.Instance;

Edit, Sadly it seems that the best solution is to implement a wpf controller into the winform application.

CodePudding user response:

If I understand correctly you want a world map, I don't know what you're planning on doing with it so if you just want to display a world map then I found a YouTube tutorial about this that might help, https://www.youtube.com/watch?v=TxSJJfaAzKg

If you want an interactive map and arcgis does that for you then you can emulate a WPF control inside a winforms application, https://www.youtube.com/watch?v=VfpzVDAJ1fE

Sorry if I'm only showing YouTube videos as sources instead of actual documentation, but at least it gets the job done.

  • Related