com.here.platform.location.integration.optimizedmap.graph
TiledReverseHereMapContentReferencePropertyMap
class TiledReverseHereMapContentReferencePropertyMap extends 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 java.util.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 HereMapContentReference is lower that the one expected by the resolver.
tileByIddoes not associate the resolved TileId with any MappingTile.- The MappingTile associated with the resolved TileId does not contain any Vertex associated with the provided HereMapContentReference.
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.
- Alphabetic
- By Inheritance
- TiledReverseHereMapContentReferencePropertyMap
- PropertyMap
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TiledReverseHereMapContentReferencePropertyMap(tileById: (TileId) => Option[MappingTile], resolver: AncestorTileResolver)
- tileById
Used to retrieve the data tiles by their ID, if they exist
- resolver
Determines which tile is needed to map a particular HereMapContentReference
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(key: HereMapContentReference): Vertex
Retrieves the property value associated with a particular
key.Retrieves the property value associated with a particular
key.- Definition Classes
- TiledReverseHereMapContentReferencePropertyMap → PropertyMap
- Exceptions thrown
java.util.NoSuchElementExceptionif the key is not found
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def contains(key: HereMapContentReference): Boolean
Tests whether this PropertyMap contains a value for a particular key.
Tests whether this PropertyMap contains a value for a particular key.
- returns
trueif this PropertyMap contains a value forkey,falseotherwise
- Definition Classes
- TiledReverseHereMapContentReferencePropertyMap → PropertyMap
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- val resolver: AncestorTileResolver
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)