Currently I am working with maps in Geoserver. I want to display maps in WMS format in android. I have seen openscales, mapsforge, osm-droid. What android map libraries best for working with WMS, WFS layers? What are their pros and cons?
Currently I am working with maps in Geoserver. I want to display maps in WMS format in android. I have seen openscales, mapsforge, osm-droid. What android map libraries best for working with WMS, WFS layers? What are their pros and cons?
I don't use specific libraries for WMS because i didn't like them (too complex for a specific and in my case non standard case), so I've created my class to manage it. For example, showing a WMS on the map is simply overriding URLTileProvider as such:
And them manage the layers as:
For the WFS service, I've developed a small library which uses GeoJSON for the data download/upload. XML is not suitable in android and WFS is too wide to support everything, so I've just implemented it on my needs. Be aware that geoserver has some issues with WFS v2 in some cases, I had to switch to WFS 1.1.