Class PositionWithLayer
java.lang.Object
slash.navigation.mapview.mapsforge.updater.PositionWithLayer
- All Implemented Interfaces:
ObjectWithLayer
A
NavigationPosition with it's Layer component.- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIdentity is theNavigationPositionalone.org.mapsforge.map.layer.LayergetLayer()booleaninthashCode()voidsetLayer(org.mapsforge.map.layer.Layer layer) toString()
-
Constructor Details
-
Method Details
-
getPosition
-
hasCoordinates
public boolean hasCoordinates() -
getLayer
public org.mapsforge.map.layer.Layer getLayer()- Specified by:
getLayerin interfaceObjectWithLayer
-
setLayer
public void setLayer(org.mapsforge.map.layer.Layer layer) - Specified by:
setLayerin interfaceObjectWithLayer
-
equals
Identity is theNavigationPositionalone. TheLayeris a rendering handle that is attached later, when a marker is actually created, so including it would mean a freshly built instance could never equal an already rendered one - which is exactly whatSelectionUpdater.setSelectedPositions(int[], boolean)compares in its additive path. -
hashCode
public int hashCode() -
toString
-