Package 

Class MapQuestTileSource

  • All Implemented Interfaces:
    org.osmdroid.tileprovider.tilesource.ITileSource

    
    public class MapQuestTileSource
    extends OnlineTileSourceBase
                        

    MapQuest tile source, revised as 2016 July to meet the new way to access tiles, via api key

    • Constructor Summary

      Constructors 
      Constructor Description
      MapQuestTileSource(Context ctx) creates a new mapbox tile source, loading the access token and mapid from the manifest
      MapQuestTileSource(String mapboxid, String accesstoken) creates a new mapbox tile source, using the specified access token and mapbox id
      MapQuestTileSource(String name, int zoomMinLevel, int zoomMaxLevel, int tileSizePixels, String imageFilenameEnding) TileSource allowing majority of options (sans url) to be user selected.
      MapQuestTileSource(String name, int zoomMinLevel, int zoomMaxLevel, int tileSizePixels, String imageFilenameEnding, String mapBoxMapId, String mapBoxVersionBaseUrl) TileSource allowing all options to be user selected.
    • Method Summary

      Modifier and Type Method Description
      String getMapBoxMapId()
      String getAccessToken()
      void setAccessToken(String accessTokeninput)
      final void retrieveMapBoxMapId(Context aContext) Reads the mapbox map id from the manifest.
      final void retrieveAccessToken(Context aContext) Reads the access token from the manifest.
      void setMapboxMapid(String key)
      String getTileURLString(long pMapTileIndex)
      • Methods inherited from class org.osmdroid.tileprovider.tilesource.OnlineTileSourceBase

        acquire, getBaseUrl, getTileSourcePolicy, release
      • Methods inherited from class org.osmdroid.tileprovider.tilesource.BitmapTileSourceBase

        getCopyrightNotice, getDrawable, getDrawable, getMaximumZoomLevel, getMinimumZoomLevel, getTileRelativeFilenameString, getTileSizePixels, imageFilenameEnding, name, ordinal, pathBase, toString
      • Methods inherited from class org.osmdroid.tileprovider.tilesource.ITileSource

        getDrawable, getDrawable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapQuestTileSource

        MapQuestTileSource(Context ctx)
        creates a new mapbox tile source, loading the access token and mapid from the manifest
      • MapQuestTileSource

        MapQuestTileSource(String mapboxid, String accesstoken)
        creates a new mapbox tile source, using the specified access token and mapbox id
      • MapQuestTileSource

        MapQuestTileSource(String name, int zoomMinLevel, int zoomMaxLevel, int tileSizePixels, String imageFilenameEnding)
        TileSource allowing majority of options (sans url) to be user selected.
        Parameters:
        name - Name
        zoomMinLevel - Minimum Zoom Level
        zoomMaxLevel - Maximum Zoom Level
        tileSizePixels - Size of Tile Pixels
        imageFilenameEnding - Image File Extension
      • MapQuestTileSource

        MapQuestTileSource(String name, int zoomMinLevel, int zoomMaxLevel, int tileSizePixels, String imageFilenameEnding, String mapBoxMapId, String mapBoxVersionBaseUrl)
        TileSource allowing all options to be user selected.
        Parameters:
        name - Name
        zoomMinLevel - Minimum Zoom Level
        zoomMaxLevel - Maximum Zoom Level
        tileSizePixels - Size of Tile Pixels
        imageFilenameEnding - Image File Extension
        mapBoxVersionBaseUrl - MapBox Version Base Url @see https://www.mapbox.