Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: webmap plugin

$
0
0
There is no way to set the selected provider directly.

But you could do the following thing.
  • Select the correct provider from the drop down.
  • Save your project via
     AppManager.SerializationManager.SaveProject(fileName)
  • Whenever you load your application call
  AppManager.SerializationManager.OpenProject(fileName)
after you've called
 AppManager.LoadExtensions()    
The WebMap plugin listens to the App.SerializationManager.Serializing and App.SerializationManager.Deserializing events, writing its settings to the dspx and reading them from there again.

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>