ViewParameters class
A class that represents the view parameters for a Google Maps embed.
It extends the Parameters
class and provides additional properties and methods specific to the view mode.
Reference: https://developers.google.com/maps/documentation/embed/embedding-map#view_mode
- Inheritance
-
- Object
- Parameters
- ViewParameters
Constructors
- ViewParameters({required String key, required Coordinates center, int? zoom, String? language, MapType? mapType, String? region})
-
Constructs a new
ViewParameters
instance.const
Properties
- center → Coordinates?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String
-
finalinherited
- language → String?
-
finalinherited
- mapType → MapType?
-
finalinherited
- mode → MapMode
-
finalinherited
- region → String?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zoom → int?
-
finalinherited
Methods
-
getQueryParameters(
) → String -
Generates the query parameters string for the API request.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, String> -
Converts the parameters into a map representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited