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.
tileById
does 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
- All
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.NoSuchElementException
if the key is not found
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @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
true
if this PropertyMap contains a value forkey
,false
otherwise
- Definition Classes
- TiledReverseHereMapContentReferencePropertyMap → PropertyMap
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val resolver: AncestorTileResolver
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()