Class TiledReverseHereMapContentReferencePropertyMap

java.lang.Object
com.here.platform.location.integration.optimizedmap.graph.TiledReverseHereMapContentReferencePropertyMap
All Implemented Interfaces:
com.here.platform.location.core.graph.PropertyMap<HereMapContentReference,Vertex>

public class TiledReverseHereMapContentReferencePropertyMap extends Object implements com.here.platform.location.core.graph.PropertyMap<HereMapContentReference,Vertex>
A 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:

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