MapViewPosition class

Constructors

MapViewPosition(double _latitude, double _longitude, int zoomLevel, int indoorLevel, double tileSize)
MapViewPosition.indoorLevelDown(MapViewPosition old)
MapViewPosition.indoorLevelUp(MapViewPosition old)
MapViewPosition.move(MapViewPosition old, double _latitude, double _longitude)
MapViewPosition.scale(MapViewPosition old, Mappoint focalPoint, double scale)
sets the new scale relative to the current zoomlevel. A scale of 1 means no action, 0..1 means zoom-out (you will see more area on screen since at pinch-to-zoom the fingers are moved towards each other) [...]
MapViewPosition.setIndoorLevel(MapViewPosition old, int indoorLevel)
MapViewPosition.setLeftUpper(MapViewPosition old, double left, double upper, Dimension viewDimension)
MapViewPosition.zoom(MapViewPosition old, int zoomLevel)
MapViewPosition.zoomIn(MapViewPosition old)
MapViewPosition.zoomInAround(MapViewPosition old, double latitude, double longitude)
MapViewPosition.zoomOut(MapViewPosition old)

Properties

boundingBox BoundingBox
the latitude/longitude boundaries of the current map view. This property must be calculated if needed based on the current view
read / write
focalPoint → Mappoint
final
hashCode int
The hash code for this object. [...]
read-only, override
indoorLevel int
final
latitude double
read-only
leftUpper → Mappoint
read-only
longitude double
read-only
mercatorProjection MercatorProjectionImpl
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scale double
final
tileSize double
final
zoomLevel int
final

Methods

calculateBoundingBox(Dimension viewDimension) BoundingBox
hasPosition() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
sizeChanged() → void
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override