Class TiledGeometryPropertyMap

java.lang.Object
com.here.platform.location.inmemory.graph.TiledGeometryPropertyMap
All Implemented Interfaces:
com.here.platform.location.core.graph.PropertyMap<Vertex,PackedLineString>

public class TiledGeometryPropertyMap extends Object implements com.here.platform.location.core.graph.PropertyMap<Vertex,PackedLineString>
Implements a PropertyMap for retrieving vertex geometries.

param: tileById Used to retrieve the data tiles by their ID, if they exist param: geometryTileDistanceCalculator the same distance calculator used to compute the cumulativeChunkLengths of the GeometryTiles

See also GeometryTile for details on the data format used by this class.

  • Constructor Details

    • TiledGeometryPropertyMap

      public TiledGeometryPropertyMap(scala.Function1<TileId,scala.Option<GeometryTile>> tileById, ProjectionDistanceCalculator geometryTileDistanceCalculator)
    • TiledGeometryPropertyMap

      public TiledGeometryPropertyMap(scala.Function1<TileId,scala.Option<GeometryTile>> tileById)
      Creates a new multi tile capable geometry property map from a raw tile provider.

      Parameters:
      tileById - Used to retrieve the data tiles by their ID, if they exist

      Note This constructor will use the default GeometryTile distance calculator.

  • Method Details