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 Core
Country Data class
ExternalRendererMarkers Maps & 3D Scene
External renderer markers
FollowPositionPreferences Maps & 3D Scene
Follow position preferences class
GemAnimation Maps & 3D Scene
Animation class.
GemMap Maps & 3D Scene
GemMap Widget
GemMapController Maps & 3D Scene
GemMapController class.
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
Map camera class.
MapDetails Maps & 3D Scene
Map Details class
MapDownloaderService Maps & 3D Scene
Map Downloader Service
MapSceneObject Maps & 3D Scene
Map Scene Object
MapViewExtensions Maps & 3D Scene
Map View Extensions
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
Map View Render info
Marker Maps & 3D Scene
Marker
MarkerCollection Maps & 3D Scene
Marker collection class
MarkerCollectionRenderSettings Maps & 3D Scene
Render settings for a MarkerCollection
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
Render settings for a Marker.
MarkerSketches Maps & 3D Scene
Sketches collection
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
Render settings base class
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