mapmyindia_gl library

Classes

AddressToken
ArgumentCallbacks<T>
Mutable collection of ArgumentCallback instances, itself an ArgumentCallback.
AutoSuggestCriteria
AutoSuggestResponse
CameraELocUpdate
CameraPosition
The position of the map "camera", the view point from which the world is shown in the map view. Aggregates the camera's target geographical location, its zoom level, tilt angle, and bearing.
CameraTargetBounds
Bounds for the map camera target.
CameraUpdate
Defines a camera move, supporting absolute moves as well as moves relative the current position.
Circle
CircleLayerProperties
CircleOptions
Configuration options for Circle instances.
DirectionBearing
DirectionCriteria
DirectionResponse
DirectionsRoute
DirectionsWaypoint
DistanceCriteria
DistanceResponse
DistanceResults
code : "Ok" distances : [0,6817.7,20475.7] durations : [0,1844.4,5307.5]
DownloadRegionStatus
ELocation
Error
Expressions
Fill
FillLayerProperties
FillOptions
Configuration options for Fill instances.
GeoAnalyticsListResponse
GeoAnalyticsListResult
GeoAnalyticsValue
GeocodeResponse
GeoCodeResult
GeocodingCriteria
GeojsonSourceProperties
HillshadeLayerProperties
ImageSourceProperties
InProgress
IntersectionLanes
LatLng
A pair of latitude and longitude coordinates, stored as degrees.
LatLngBounds
A latitude/longitude aligned rectangle.
LatLngQuad
A geographical area representing a non-aligned quadrilateral This class does not wrap values to the world bounds
LayerProperties
LegAnnotation
LegStep
Line
LineLayerProperties
LineOptions
Configuration options for Line instances.
MapmyIndiaAccountManager
MapmyIndiaAutoSuggest
MapmyIndiaDirection
MapmyIndiaDistanceMatrix
MapmyIndiaFeedback
MapmyIndiaGenerateOTP
MapmyIndiageoAnalyticsAppearanceOption
MapmyIndiaGeoAnalyticsDetail
MapmyIndiaGeoAnalyticsList
MapmyIndiaGeoAnalyticsRequest
MapmyIndiaGeoCoding
MapmyIndiaHateOsNearby
MapmyIndiaMap
MapmyIndiaMapConfiguration
MapmyIndiaMapController
Controller for a single MapboxMap instance running on the host platform.
MapmyIndiaNearby
MapmyIndiaNearbyReport
MapmyIndiaPlaceDetail
MapmyIndiaPOIAlongRoute
MapmyIndiaReverseGeocode
MapmyIndiaRoadTrafficDetail
MapmyIndiaStyle
MapmyIndiaTextSearch
MapmyIndiaWhitelist
MaxSpeed
MinMaxZoomPreference
Preferred bounds for map camera zoom level.
NearbyCriteria
NearbyReportPagination
NearbyReportResponse
NearbyReportResult
NearbyResponse
NearbyResult
OfflineRegion
Description of a downloaded region including its identifier.
OfflineRegionDefinition
Description of region to be downloaded. Identifier will be generated when the download is initiated.
PageInfo
pageCount : 1 totalHits : 1 totalPages : 1 pageSize : 10
PlaceDetailLegacyResponse
PlaceDetailLegacyResult
PlaceDetailResponse
PlaceInfo
PlaceInfoValue
PoiAlongRouteResponse
POICriteria
RasterDemSourceProperties
RasterLayerProperties
RasterSourceProperties
ReverseGeocodePlace
ReverseGeocodeResponse
RouteLeg
RouteOptions
SourceProperties
StepIntersection
StepManeuver
Success
SuggestedPOI
SuggestedSearch
Symbol
SymbolLayerProperties
SymbolOptions
Configuration options for Symbol instances.
TrafficRoadDetailResponse
TrafficRoadDetailResult
UserHeading
Type represents a geomagnetic value, measured in microteslas, relative to a device axis in three dimensional space.
UserLocation
User's observed location
VectorSourceProperties
VideoSourceProperties
VoiceInstructions
WalkingOptions

Enums

AnnotationType
AttributionButtonPosition
Attribution Button Position
CompassViewPosition
Compass View Position
MapmyIndiaGeoAnalyticsType
MyLocationRenderMode
Render mode
MyLocationTrackingMode
The camera mode, which determines how the map camera will track the rendered location.

Functions

deleteOfflineRegion(int id, {String? accessToken}) Future
downloadOfflineRegion(OfflineRegionDefinition definition, {Map<String, dynamic> metadata = const {}, String? accessToken, dynamic onEvent(DownloadRegionStatus event)?}) Future<OfflineRegion>
getListOfRegions({String? accessToken}) Future<List<OfflineRegion>>
installOfflineMapTiles(String tilesDb) Future<void>
Copy tiles db file passed in to the tiles cache directory (sideloaded) to make tiles available offline.
mergeOfflineRegions(String path, {String? accessToken}) Future<List<OfflineRegion>>
setOffline(bool offline, {String? accessToken}) Future
setOfflineTileCountLimit(int limit, {String? accessToken}) Future
updateOfflineRegionMetadata(int id, Map<String, dynamic> metadata, {String? accessToken}) Future<OfflineRegion>

Typedefs

MapCreatedCallback = void Function(MapmyIndiaMapController controller)
OnAttributionClickCallback = void Function()
OnCameraIdleCallback = void Function()
OnCameraTrackingChangedCallback = void Function(MyLocationTrackingMode mode)
OnCameraTrackingDismissedCallback = void Function()
OnFeatureTappedCallback = void Function(dynamic id, Point<double> point, LatLng coordinates)
OnGeoAnalyticsSelected = void Function(List<MapmyIndiaGeoAnalyticsDetail> details)
OnMapClickCallback = void Function(Point<double> point, LatLng coordinates)
OnMapErrorCallbcak = void Function(int code, String message)
OnMapIdleCallback = void Function()
OnMapLongClickCallback = void Function(Point<double> point, LatLng coordinates)
OnStyleLoadedCallback = void Function()
OnUserLocationUpdated = void Function(UserLocation location)