Class TiledReverseHereMapContentReferencePropertyMap
- All Implemented Interfaces:
com.here.platform.location.core.graph.PropertyMap<HereMapContentReference,Vertex>
PropertyMap to retrieve
the Vertex for a given
HereMapContentReference.
The zoom level of the TileIds on which
tileById operates, and the zoom level of the
TileId referenced by a
HereMapContentReference
can be different. Typically, one tile of the Optimized Map for Location Library covers
several partitions from HERE Map Content. If you convert a reference from HERE Map Content to a
Vertex of the Optimized Map for Location Library,
the zoom level of the tile referenced by the
HereMapContentReference
is higher than the zoom level on which tileById operates.
The resolver transforms a TileId
at a higher zoom level referenced by a
HereMapContentReference
to a TileId at a lower zoom level,
TileId on which tileById can operate.
The apply method throws a
NoSuchElementException if it cannot find any
Vertex for the provided
HereMapContentReference.
More specifically, the exception is thrown for any of the following reasons:
- The zoom level of the tile referenced by
HereMapContentReferenceis lower that the one expected by theresolver. tileByIddoes not associate the resolvedTileIdwith anyMappingTile.- The
MappingTileassociated with the resolvedTileIddoes not contain anyVertexassociated with the providedHereMapContentReference.
See also
the Road Topology & Geometry layer of HERE Map Content for the exact value of the zoom level
used in HERE Map Content and the Mapping layer of the Optimized Map for Location Library
for the exact value of the zoom level used in the Optimized Map for Location Library.
param: tileById Used to retrieve the data tiles by their ID, if they exist
param: resolver Determines which tile is needed to map a particular
HereMapContentReference
-
Constructor Summary
ConstructorsConstructorDescriptionTiledReverseHereMapContentReferencePropertyMap(scala.Function1<TileId, scala.Option<MappingTile>> tileById, AncestorTileResolver resolver) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.here.platform.location.core.graph.PropertyMap
apply$mcD$sp, apply$mcZ$sp
-
Constructor Details
-
TiledReverseHereMapContentReferencePropertyMap
public TiledReverseHereMapContentReferencePropertyMap(scala.Function1<TileId, scala.Option<MappingTile>> tileById, AncestorTileResolver resolver)
-
-
Method Details
-
apply
- Specified by:
applyin interfacecom.here.platform.location.core.graph.PropertyMap<HereMapContentReference,Vertex>
-
contains
- Specified by:
containsin interfacecom.here.platform.location.core.graph.PropertyMap<HereMapContentReference,Vertex>
-
resolver
-