Skip to content
mtehver edited this page Feb 24, 2014 · 35 revisions

Nutiteq SDK is map agnostic, it means that you can technically use any map source (your own, 3rd party etc), and by default we don't bundle any map source with the SDK. You may be interested on following sources of map tiles:

Source Code Sample Terms
OpenStreetMap Mapnik tiles new HTTPRasterDataSource(new EPSG3857(), 0, 20, "http://a.tile.openstreetmap.org/{zoom}/{x}/{y}.png"); Free for limited use. See tile usage policy.
MapBox Streets new MBOnlineRasterDataSource(new EPSG3857(), 0, 19, "nutiteq", "map-j6a1wkx0"); MapBox Terms & Feedback. Please create your map to use own account and map IDs.
MapBox Satellite new MBOnlineRasterDataSource(new EPSG3857(), 0, 19, "nutiteq", "map-f0sfyluv"); MapBox Terms & Feedback. Please create your map to use own account and map IDs.
Stamen Toner new HTTPRasterDataSource(new EPSG3857(), 0, 20, "http://tile.stamen.com/toner/{zoom}/{x}/{y}.png"); Please contact http://www.stamen.com
Stamen Watercolor new HTTPRasterDataSource(new EPSG3857(), 0, 20, "http://tile.stamen.com/watercolor/{zoom}/{x}/{y}.png")); Please contact http://www.stamen.com
Stamen Terrain - US only new HTTPRasterDataSource(new EPSG3857(), 0, 20, "http://tile.stamen.com/terrain/{zoom}/{x}/{y}.png"); Please contact http://www.stamen.com
MapQuest Open Tiles new HTTPRasterDataSource(new EPSG3857(), 0, 20, "http://otile1.mqcdn.com/tiles/1.0.0/osm/{zoom}/{x}/{y}.png"); Free. Please place “Tiles Courtesy of MapQuest ” on your page, or in the copyright area of the map and link the word “MapQuest” to http://www.mapquest.com.
MapQuest Open Aerial new HTTPRasterDataSource(new EPSG3857(), 0, 11, "http://otile1.mqcdn.com/tiles/1.0.0/sat/{zoom}/{x}/{y}.png"); Free, but limited number of zooms. Please place “Tiles Courtesy of MapQuest ” on your page, or in the copyright area of the map and link the word “MapQuest” to http://www.mapquest.com.
Microsoft Bing Maps new HTTPRasterDataSource(new EPSG3857(), 0, 19, "http://ecn.t3.tiles.virtualearth.net/tiles/r{quadkey}.png?g=1&mkt=en-US&shading=hill&n=z"); Commercial terms of Bing Maps API. Must use Get Imagery Metadata Bing Service to get supported URL parameters.
Microsoft Bing Aerials new HTTPRasterDataSource(new EPSG3857(), 0, 19, "http://ecn.t3.tiles.virtualearth.net/tiles/a{quadkey}.jpeg?g=1&mkt=en-US"); Commercial terms of Bing Maps API. Must use Get Imagery Metadata Bing Service to get supported URL parameters.
OpenCycleMap new HTTPRasterDataSource(new EPSG3857(), 0, 18, "http://a.tile.opencyclemap.org/cycle/{zoom}/{x}/{y}.png"); © OpenCycleMap
OpenCycleMap Transport new HTTPRasterDataSource(new EPSG3857(), 0, 18, "http://a.tile2.opencyclemap.org/transport/{zoom}/{x}/{y}.png"); Free to use. Source: Thunderforest

Note: the code given in the table shows how to construct a tile data source. In order to use this data source, the following template can be used:

mapView.getLayers().setBaseLayer(new RasterLayer(dataSource, id))

where dataSource is assigned with construction code from the table and id is a unique id for each layer.

References

Clone this wiki locally