Olamaps class
HTTP helpers for Ola Maps REST APIs (Places, Geocode, Roads, Geofencing, Elevation, Tiles, Street View, Routing).
Constructors
- Olamaps()
Properties
- elevation ↔ OlaMapsElevation
-
Point elevation lookups.
getter/setter pair
- geoencoder ↔ OlamapsGeoencoder
-
Forward and reverse geocoding.
getter/setter pair
- geofence ↔ OlaMapsGeofence
-
Geofence CRUD against an Ola Maps project.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- language ↔ String
-
Default ISO 639-1 language applied to HTTP helpers.
getter/setter pair
- places ↔ OlaMapsPlaces
-
Autocomplete, place details, nearby, and photos.
getter/setter pair
- roads ↔ OlaMapsRoads
-
Snap-to-road, nearest roads, and speed limits.
getter/setter pair
- routing ↔ OlaRoutingService
-
Directions, distance matrix, and related routing calls.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streetView ↔ OlaMapsStreetView
-
Street View metadata helpers.
getter/setter pair
- tiles ↔ OlaMapsTiles
-
Static maps and style URLs.
getter/setter pair
Methods
-
initialize(
String apiKey, {Object? language}) → void -
Configures every REST client with
apiKeyand optionallanguage. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → Olamaps
-
Shared REST client. Call initialize once before using the services.
no setter