Mapsui local caching

Jan 7, 2013 at 12:11 PM


How do i cache a map and use it further for better performance?

My requirement is to draw geometries on a particular area in the map, and so each time i draw a line\point on the map, i would like to use the locally cached map.



Jan 9, 2013 at 3:19 PM

For desktop you can use MBTiles to locally cache tiles. For regular geometries there is no support for local caching.

Jan 10, 2013 at 5:57 AM


Thanks for the reply.

I have a couple of questions.

1. For now i connect to the offline map server through the following piece of code:

var osmLayer = new TileLayer(new OsmTileSource()) {LayerName = "OSM"};

I would like to know, if there's a means to connect to an online server, so that i get the updated map once when i launch the application and for subsequent requests i used the locally cached map. Looking for something similar to segment caching.

2. Is it possible to have an XML configuration file to store the Lat,Long Positions, read the points and display the map having this point and the area around it?

Also, would like to know if the Export feature of be used in my custom SL application?

Looking forward for your reply.