Class GeojsonTileSource

java.lang.Object
org.oscim.tiling.TileSource
org.oscim.tiling.source.UrlTileSource
org.oscim.tiling.source.geojson.GeojsonTileSource
Direct Known Subclasses:
MapzenGeojsonTileSource, NextzenGeojsonTileSource

public abstract class GeojsonTileSource extends org.oscim.tiling.source.UrlTileSource
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.oscim.tiling.source.UrlTileSource

    org.oscim.tiling.source.UrlTileSource.Builder<T extends org.oscim.tiling.source.UrlTileSource.Builder<T>>, org.oscim.tiling.source.UrlTileSource.TileUrlFormatter

    Nested classes/interfaces inherited from class org.oscim.tiling.TileSource

    org.oscim.tiling.TileSource.OpenResult, org.oscim.tiling.TileSource.Options
  • Field Summary

    Fields inherited from class org.oscim.tiling.source.UrlTileSource

    URL_FORMATTER

    Fields inherited from class org.oscim.tiling.TileSource

    mAlpha, mFadeSteps, mName, mOverZoom, mTileSize, mZoomMax, mZoomMin, options, tileCache
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    GeojsonTileSource(String urlString, String tilePath)
     
    protected
    GeojsonTileSource(String urlString, String tilePath, int zoomMin, int zoomMax)
     
    protected
    GeojsonTileSource(org.oscim.tiling.source.UrlTileSource.Builder<?> builder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    decodeTags(org.oscim.core.MapElement mapElement, Map<String,Object> properties)
    allow overriding tag handling
    org.oscim.tiling.ITileDataSource
     
    org.oscim.core.Tag
     
    void
    postGeomHook(org.oscim.core.MapElement mapElement)
    modify mapElement before process()
    org.oscim.core.Tag
    rewriteTag(String key, Object value)
     

    Methods inherited from class org.oscim.tiling.source.UrlTileSource

    close, getHttpEngine, getRequestHeader, getTilePath, getTileUrl, getUrl, getUrlFormatter, open, setApiKey, setHttpEngine, setHttpRequestHeaders, setUrlFormatter, tileXToUrlX, tileYToUrlY, tileZToUrlZ

    Methods inherited from class org.oscim.tiling.TileSource

    getAlpha, getFadeSteps, getName, getOption, getOverZoom, getTileSize, getZoomLevelMax, getZoomLevelMin, setCache, setFadeSteps, setOption

    Methods inherited from class java.lang.Object

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

    • GeojsonTileSource

      protected GeojsonTileSource(org.oscim.tiling.source.UrlTileSource.Builder<?> builder)
    • GeojsonTileSource

      protected GeojsonTileSource(String urlString, String tilePath)
    • GeojsonTileSource

      protected GeojsonTileSource(String urlString, String tilePath, int zoomMin, int zoomMax)
  • Method Details

    • getDataSource

      public org.oscim.tiling.ITileDataSource getDataSource()
      Specified by:
      getDataSource in class org.oscim.tiling.TileSource
    • getFeatureTag

      public org.oscim.core.Tag getFeatureTag()
    • decodeTags

      public abstract void decodeTags(org.oscim.core.MapElement mapElement, Map<String,Object> properties)
      allow overriding tag handling
    • rewriteTag

      public org.oscim.core.Tag rewriteTag(String key, Object value)
    • postGeomHook

      public void postGeomHook(org.oscim.core.MapElement mapElement)
      modify mapElement before process()