StaticImage class

Constructors

StaticImage({String? apiKey})
If apiKey is not provided here then it must be provided MapBoxSearch()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getStaticUrlWithMarker({required Location center, num? zoomLevel, int? width, int? height, int? bearing, int? pitch, MapBoxStyle? style, bool? render2x, String? markerUrl, MapBoxMarker? marker, bool? auto}) Uri
When auto is set to true, the map will adjust automatically to fit the provided markers and paths.
getStaticUrlWithoutMarker({Location? center, num? zoomLevel, int? width, int? height, int? bearing, int? pitch, MapBoxStyle? style, bool? render2x, bool? auto}) Uri
When auto is set to true, the map will adjust automatically to fit the provided markers and paths.
getStaticUrlWithPolyline({required Location point1, required Location point2, num? zoomLevel, int? width, int? height, Location? center, int? bearing, int? pitch, MapBoxStyle? style, bool? render2x, bool? auto, String? markerUrl, MapBoxPath? path, MapBoxMarker? marker1, String? markerUrl1, MapBoxMarker? marker2, String? markerUrl2}) Uri
Retrieve a map with two points and a polyline overlay,
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