문제

Is it possible to show open cycle maps (not open street maps) with nutiteq?

Also I noticed in the library on this link:

That there is no MBTilesMapLayer.java class. But there is in the AdvencedMap3D project. Is there a library for that too or how can I user the MBTiles for my Android project?

도움이 되었습니까?

해결책

Sure, you can use more or less any tile source where provider has allowed it (which excludes Google).

mapView.getLayers().setBaseLayer(new TMSMapLayer(new EPSG3857(), 0, 18, 6,
  "http://a.tile.opencyclemap.org/cycle/", "/", ".png"));

This is added now to Nutiteq Tile sources Wiki page also

For MBTiles you should use the MBTilesMapLayer.java from AdvancedMap3D project. This is up-to-date code and for most of the data source layers we keep open source code there, so you can tweak it for your needs.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top