I am using maps on new Android, as a custom map, I mean Max created by my server Map (I am using WMS with GOserver) should I create a custom view or can I use Mapfragment? Or any library that I can use for this? (My custom maps are for indoor space)
You use to display your own map tile The implementation can look something like this:
public zeros addTiledMaplayer () {last MapTileProviderBasic tileProvider = new MapTileProviderBasic (getApplicationContext ()); Last ITileSource tile Source = New XYTileSource (Layer name, blank, 15, 16, 256, ". PNG", "http: //url.with/tiles/"); TileProvider.setTileSource (tileSource); Last Tiles Overlay Tile Overlay = New Tile Overlay (Tile Provider, This.TetBase Contact); TilesOverlay.setLoadingBackgroundColor (Color.TRANSPARENT); Add map.getOverlays () (tilesOverlay) .; Map.invalidate (); } If you do not have a useful tile, you can remove them from your geosor using a program called Mobile Atlas Creator.
No comments:
Post a Comment