HereMapController class abstract

Allows interacting with the map displayed by HereMap widget.

Inheritance

Constructors

HereMapController(int id)
factory

Properties

camera MapCamera
The camera to control the view for the map. Gets the camera to control the view for the map.
no setterinherited
frameRate ↔ int
Maximum render frame rate in frames per second. Gets maximum render frame rate in frames per second.
getter/setter pairinherited
gestures Gestures
The gestures control object for setting up the capture of gestures. Gets the gestures control object.
no setterinherited
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 setterinherited
isValid → bool
Indicates whether this instance is valid. It will be made invalid when the corresponding SDKNativeEngine is destroyed. Returns true if this instance is valid, false otherwise. It will be made
no setterinherited
mapContext MapContext
Map context associated with this map view. Gets the map context associated with this map view.
no setterinherited
mapScene MapScene
Map scene associated with this map view. Gets the map scene associated with this map view.
no setterinherited
pixelScale → double
The pixel scale factor used by this MapView.
no setterinherited
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 Size2D with zero width and height is returned. Gets the size of this map view in physical pixels.
no setterinherited
watermarkSize Size2D
Provides the size of the watermark in physical pixels. Returns the watermark size in physical pixels.
no setterinherited
widgetPins → List<WidgetPin>
Gets a list of currently added widget pins.
no setter

Methods

addLifecycleListener(MapViewLifecycleListener lifecycleListener) → void
Adds a MapViewLifecycleListener to this map view.
inherited
geoToViewCoordinates(GeoCoordinates geoCoordinates) Point2D?
Converts geographical coordinates to view coordinates (in pixels).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
Pauses the map widget.
pick(MapSceneMapPickFilter? filter, Rectangle2D viewArea, MapViewBaseMapPickCallback callback) → void
Returns all map content located inside the specified pick area.
inherited
pinWidget(Widget widget, GeoCoordinates coordinates, {Anchor2D? anchor}) WidgetPin?
Pins a Widget to the MapView and returns a proxy object that can be used to control the pinning.
removeLifecycleListener(MapViewLifecycleListener lifecycleListener) → void
Removes a MapViewLifecycleListener from this map view.
inherited
resume() → void
Resumes the map widget.
setWatermarkLocation(Anchor2D anchor, Point2D offset) → void
Sets the position of the HERE logo watermark within the map view.
inherited
takeScreenshot(TakeScreenshotCallback callback) → void
Asynchronously retrieves a screenshot of the map view.
toString() → String
A string representation of this object.
inherited
unpinWidget(Widget widget) → void
Removes a WidgetPin from the MapView by specifying the corresponding Widget. Trying to unpin a widget that was not pinned or has been unpinned before has no effect. All pinned widgets equal to widget will be removed.
viewToGeoCoordinates(Point2D viewCoordinates) GeoCoordinates?
Converts view coordinates (in pixels) to geographical coordinates.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

primaryLanguage LanguageCode?
The code of desired primary map display language.
getter/setter pair
secondaryLanguage LanguageCode?
The code of desired secondary map display language. Note: This feature is in beta state and thus there can be bugs and unexpected behavior.
getter/setter pair
shadowQuality ShadowQuality
The current shadow quality. Default shadow quality is ShadowQuality.medium. Note: This feature is in beta state and thus there can be bugs and unexpected behavior.
getter/setter pair