map library

Maps & 3D Scene

Provides APIs for map rendering, camera control, overlays, markers, and 3D scene management.

This library covers the main interfaces and classes for displaying, interacting with, and customizing maps and 3D scenes, including camera, overlays, markers, and rendering events.

Main features

More details

  • See the Maps for more information.

Classes

CountryData
Represents country data including name, ISO code, and optional flag image.
ExternalRendererMarkers Maps & 3D Scene
External renderer markers
FollowPositionPreferences Maps & 3D Scene
Follow position preferences class
GemAnimation Maps & 3D Scene
Animation helper class.
GemMap Maps & 3D Scene
GemMap Widget
GemMapController Maps & 3D Scene
Controller for a single GemMap instance running on the host platform.
GemMapState Maps & 3D Scene
GemMap State
GemView Maps & 3D Scene
The map view class
HighlightRenderSettings Maps & 3D Scene
Highlights render settings
MapCamera Maps & 3D Scene
Controls the camera for a map view, allowing manipulation of position, orientation, and state.
MapDetails Maps & 3D Scene
Provides static methods for querying map details, coverage, country data, and provider information.
MapDownloaderService Maps & 3D Scene
Provides services for downloading map data and managing download operations.
MapSceneObject Maps & 3D Scene
Represents a map scene object, a 3D model, that can be manipulated on the map.
MapViewExtensions Maps & 3D Scene
Provides extension methods and properties for advanced map view manipulation and tracking.
MapViewMarkerCollections Maps & 3D Scene
Mapview marker collections class
MapViewOverlayCollection Maps & 3D Scene
Overlay collection for a MapView object.
MapViewPreferences Maps & 3D Scene
Mapview preferences
MapViewRenderInfo Maps & 3D Scene
Contains information about a map view render event, including area, markers, and transition statuses.
Marker Maps & 3D Scene
Marker
MarkerCollection Maps & 3D Scene
Marker collection class
MarkerCollectionRenderSettings Maps & 3D Scene
Marker collection render settings
MarkerCustomRenderData Maps & 3D Scene
Marker custom rendering information
MarkerInfo Maps & 3D Scene
Marker info
MarkerJson Maps & 3D Scene
A simplified representation of a Marker
MarkerMatch Maps & 3D Scene
Marker match
MarkerRenderSettings Maps & 3D Scene
Marker render settings
MarkerWithRenderSettings Maps & 3D Scene
Contains a marker and its render settings
OverlayCategory Maps & 3D Scene
Overlay category
OverlayCollection Maps & 3D Scene
Overlays collection.
OverlayInfo Maps & 3D Scene
Overlay info class
OverlayItem Maps & 3D Scene
Class representing an overlay item.
OverlayItemPosition Maps & 3D Scene
Coordinate referenced OverlayItem object.
OverlayMutableCollection Maps & 3D Scene
Mutable overlays collection.
OverlayService Maps & 3D Scene
Overlay service class
PointerEventHandler Maps & 3D Scene
Handles mouse and pointer events for the map widget.
PredefinedOverlayGenericParametersIds Maps & 3D Scene
Overlay generic parameters ids
PTAgency Maps & 3D Scene
This class represents a public transport agency.
PTRouteInfo Maps & 3D Scene
This class represents a public transport route.
PTStop Maps & 3D Scene
This class represents a public transport stop.
PTStopInfo Maps & 3D Scene
This class represents public transport stop information.
PTStopTime Maps & 3D Scene
This class represents a public transport stop time.
PTTrip Maps & 3D Scene
This class represents a public transport trip.
RenderSettings<T> Maps & 3D Scene
Class that defines the rendering settings for a view.
SocialReportsOverlayCategory Maps & 3D Scene
Overlay category

Enums

AndroidViewMode Maps & 3D Scene
Mode of hosting native Android view in Flutter
AnimationType Maps & 3D Scene
The type of animation.
BuildingsVisibility Maps & 3D Scene
Buildings visibility modes
CommonOverlayId Maps & 3D Scene
Overlay Ids enumeration
FollowPositionMapRotationMode Maps & 3D Scene
Follow position map rotation mode
FollowPositionState Maps & 3D Scene
Follow position state. Used in IMapViewListener.onFollowPositionState and IMapViewListener.onTouchHandlerModifyFollowPosition
HighlightOptions Maps & 3D Scene
Landmarks highlight display options
ImagePosition Maps & 3D Scene
Image position relative to position reference.
LineType Maps & 3D Scene
Line type for linear features.
MapCoverage Maps & 3D Scene
Map coverage
MapDetailsQualityLevel Maps & 3D Scene
Map details quality levels
MapExtendedCapability Maps & 3D Scene
Extended Map Capability
MapProviderId Maps & 3D Scene
Map providers enumeration.
MapViewPerspective Maps & 3D Scene
Perspectives in which the map is viewed
MarkerLabelingMode Maps & 3D Scene
Marker labeling mode
MarkerMatchType Maps & 3D Scene
Marker match type
MarkerType Maps & 3D Scene
Marker type
PTRouteType Maps & 3D Scene
This enum represents the different types of public transport routes. It includes bus, underground, railway, tram, water transport, and miscellaneous.
RouteDisplayMode Maps & 3D Scene
Route display modes
RouteRenderOptions Maps & 3D Scene
Enum for route render options.
SceneObjectFileFormat Maps & 3D Scene
File format of the scene object
TouchGestures Maps & 3D Scene
Touch gestures list
ViewCameraTransitionStatus Maps & 3D Scene
Enumeration used to specify view camera transition.
ViewDataTransitionStatus Maps & 3D Scene
Enumeration used to specify view data transition.

Typedefs

CursorSelectionCallback<T> = void Function(T selectedItem)
Callback for cursor selection events
FollowPositionStateCallback = void Function(FollowPositionState state)
Callback for follow position state events
HoveredMapLabelHighlightedLandmarkCallback = void Function(Landmark object)
Callback for map label highlighted landmark event
HoveredMapLabelHighlightedOverlayItemCallback = void Function(OverlayItem object)
Callback for map label highlighted overlay item event
HoveredMapLabelHighlightedTrafficEventCallback = void Function(TrafficEvent object)
Callback for map label highlighted route traffic event
MapAngleUpdateCallback = void Function(double value)
Callback for map angle update events
MapCreatedCallback = void Function(GemMapController controller)
Callback method for when the map is ready to be used.
MapViewMoveStateChangedCallback = void Function(bool isCameraMoving, RectangleGeographicArea area)
Callback for map view move state events
MapViewRenderedCallback = void Function(MapViewRenderInfo data)
Callback for map view rendered events
MoveCallback = void Function(Point<num> start, Point<num> end)
Callback for move events
PinchCallback = void Function(Point<int> start1, Point<int> start2, Point<int> end1, Point<int> end2, Point<int> center)
Callback for pinch events
PinchSwipeCallback = void Function(Point<int> centerPosInPix, double zoomingSpeedInMMPerSec, double rotatingSpeedInMMPerSec)
Callback for pinh and swipe events
RenderMapScaleCallback = void Function(int scaleWidth, int scaleValue, String scaleUnits)
Callback for map scale events
SetMapStyleCallback = void Function(int id, String stylePath, bool viaApi)
Callback for set map style event
ShoveCallback = void Function(double pointersAngleDeg, Point<num> initial, Point<num> start, Point<num> end)
Callback for shove events
SwipeCallback = void Function(int distX, int distY, double speedMMPerSec)
Callback for swipe events
TouchCallback = void Function(Point<int> pos)
Callback for touch events
TouchPinchCallback = void Function(Point<int> start1, Point<int> start2, Point<int> end1, Point<int> end2)
Callback for touch and pinch events
TouchPointerCallback = void Function(int pointerId, Point<num> pos)
Callback for pointer up/move/down events
ViewportResizedCallback = void Function(Rectangle<int> viewport)
Callback for viewport resized events