Using Mapsui.Providers.ShapeFile for WP8

Oct 21, 2013 at 9:23 AM

by browsing the current Sourcecode of the Project i came across the Mapsui.Providers.ShapeFile, which is by chance something i could use for my WP8 application.
Sadly i cannot use the assembly in my WP8 Project, due to Version. Any help on that ?

Greetz Andy
Oct 21, 2013 at 8:32 PM
Edited Oct 21, 2013 at 8:33 PM
The current implementation of the shapefile provider has dependencies on the regular .net framework. To make it available for windows phone parts need to be ported.

What you could do is create windows phone project, add all the shapefile cs files and try to work away the compile errors. I guess all file access needs to be replaced with IsolatedStorageFile. If you try that I would be interested to hear what parts need rewrites.

Ideally I would like to build the projects from the same source where you probably need some #if's here and there. It would be nice if those could be isolated to just a few places. Perhaps the platform specific code can be hidden behind some interface.

Let me know what you encounter if you try to get it compiled for windows phone.