MapViewBase class abstract
Represents the available public API from MapView.
- Implementers
Constructors
- MapViewBase(GeoCoordinates? viewToGeoCoordinatesLambda(Point2D), Point2D? geoToViewCoordinatesLambda(GeoCoordinates), void setWatermarkLocationLambda(Anchor2D, Point2D), void addLifecycleListenerLambda(MapViewLifecycleListener), void removeLifecycleListenerLambda(MapViewLifecycleListener), void pickLambda(MapSceneMapPickFilter?, Rectangle2D, MapViewBaseMapPickCallback ), bool isValidGetLambda(), MapCamera cameraGetLambda(), Gestures gesturesGetLambda(), MapScene mapSceneGetLambda(), MapContext mapContextGetLambda(), HereMapControllerCore hereMapControllerCoreGetLambda(), Size2D viewportSizeGetLambda(), int frameRateGetLambda(), void frameRateSetLambda(int), double pixelScaleGetLambda(), Size2D watermarkSizeGetLambda())
-
Represents the available public API from
MapView.factory
Properties
- camera → MapCamera
-
The camera to control the view for the map.
Gets the camera to control the view for the map.
no setter
- frameRate ↔ int
-
Maximum render frame rate in frames per second.
Gets maximum render frame rate in frames per second.
getter/setter pair
- gestures → Gestures
-
The gestures control object for setting up the capture of gestures.
Gets the gestures control object.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hereMapControllerCore → HereMapControllerCore
-
Here Map associated with this map view.
Gets the HereMapControllerCore associated with this map view.
no setter
- isValid → bool
-
Indicates whether this instance is valid.
It will be made invalid when the corresponding
SDKNativeEngineis destroyed. Returnstrueif this instance is valid,falseotherwise. It will be madeno setter - mapContext → MapContext
-
Map context associated with this map view.
Gets the map context associated with this map view.
no setter
- mapScene → MapScene
-
Map scene associated with this map view.
Gets the map scene associated with this map view.
no setter
- pixelScale → double
-
The pixel scale factor used by this
MapView.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewportSize → Size2D
-
The size of this map view in physical pixels.
If internally the map view's render surface is not attached yet
(see: MapViewLifecycleListener), or after the map view has been destroyed
then a
Size2Dwith zero width and height is returned. Gets the size of this map view in physical pixels.no setter - watermarkSize → Size2D
-
Provides the size of the watermark in physical pixels.
Returns the watermark size in physical pixels.
no setter
Methods
-
addLifecycleListener(
MapViewLifecycleListener lifecycleListener) → void - Adds a MapViewLifecycleListener to this map view.
-
geoToViewCoordinates(
GeoCoordinates geoCoordinates) → Point2D? - Converts geographical coordinates to view coordinates (in pixels).
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pick(
MapSceneMapPickFilter? filter, Rectangle2D viewArea, MapViewBaseMapPickCallback callback) → void - Returns all map content located inside the specified pick area.
-
removeLifecycleListener(
MapViewLifecycleListener lifecycleListener) → void - Removes a MapViewLifecycleListener from this map view.
-
setWatermarkLocation(
Anchor2D anchor, Point2D offset) → void - Sets the position of the HERE logo watermark within the map view.
-
toString(
) → String -
A string representation of this object.
inherited
-
viewToGeoCoordinates(
Point2D viewCoordinates) → GeoCoordinates? - Converts view coordinates (in pixels) to geographical coordinates.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited