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 Summary
ConstructorsConstructorDescriptionTiledGeometryPropertyMap
(scala.Function1<TileId, scala.Option<GeometryTile>> tileById) Creates a new multi tile capable geometry property map from a raw tile provider.TiledGeometryPropertyMap
(scala.Function1<TileId, scala.Option<GeometryTile>> tileById, ProjectionDistanceCalculator geometryTileDistanceCalculator) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.here.platform.location.core.graph.PropertyMap
apply$mcD$sp, apply$mcZ$sp
-
Constructor Details
-
TiledGeometryPropertyMap
public TiledGeometryPropertyMap(scala.Function1<TileId, scala.Option<GeometryTile>> tileById, ProjectionDistanceCalculator geometryTileDistanceCalculator) -
TiledGeometryPropertyMap
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 existNote This constructor will use the default GeometryTile distance calculator.
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.here.platform.location.core.graph.PropertyMap<Vertex,
PackedLineString>
-
contains
- Specified by:
contains
in interfacecom.here.platform.location.core.graph.PropertyMap<Vertex,
PackedLineString>
-