GoogleMapsInspectorPlatform class abstract
The interface that platform-specific implementations of
google_maps_flutter
can extend to support state inpsection in tests.
Avoid implements
of this interface. Using implements
makes adding any
new methods here a breaking change for end users of your platform!
Do extends GoogleMapsInspectorPlatform
instead, so new methods
added here are inherited in your code with the default implementation (that
throws at runtime), rather than breaking your users at compile time.
- Inheritance
-
- Object
- PlatformInterface
- GoogleMapsInspectorPlatform
Constructors
- GoogleMapsInspectorPlatform()
- Constructs a GoogleMapsFlutterPlatform.
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
-
areBuildingsEnabled(
{required int mapId}) → Future< bool> - Returns true if the building layer is enabled.
-
areRotateGesturesEnabled(
{required int mapId}) → Future< bool> - Returns true if rotate gestures are enabled.
-
areScrollGesturesEnabled(
{required int mapId}) → Future< bool> - Returns true if scroll gestures are enabled.
-
areTiltGesturesEnabled(
{required int mapId}) → Future< bool> - Returns true if tilt gestures are enabled.
-
areZoomControlsEnabled(
{required int mapId}) → Future< bool> - Returns true if zoom controls are enabled.
-
areZoomGesturesEnabled(
{required int mapId}) → Future< bool> - Returns true if zoom gestures are enabled.
-
getClusters(
{required int mapId, required ClusterManagerId clusterManagerId}) → Future< List< Cluster> > - Returns current clusters from ClusterManager.
-
getHeatmapInfo(
HeatmapId heatmapId, {required int mapId}) → Future< Heatmap?> - Returns information about the heatmap with the given ID.
-
getMinMaxZoomLevels(
{required int mapId}) → Future< MinMaxZoomPreference> - Returns the minimum and maxmimum zoom level settings.
-
getTileOverlayInfo(
TileOverlayId tileOverlayId, {required int mapId}) → Future< TileOverlay?> - Returns information about the tile overlay with the given ID.
-
isCompassEnabled(
{required int mapId}) → Future< bool> - Returns true if the compass is enabled.
-
isLiteModeEnabled(
{required int mapId}) → Future< bool> - Returns true if lite mode is enabled.
-
isMapToolbarEnabled(
{required int mapId}) → Future< bool> - Returns true if the map toolbar is enabled.
-
isMyLocationButtonEnabled(
{required int mapId}) → Future< bool> - Returns true if the "my location" button is enabled.
-
isTrafficEnabled(
{required int mapId}) → Future< bool> - Returns true if the traffic overlay is enabled.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
supportsGettingHeatmapInfo(
) → bool - If the platform supports getting information about heatmaps.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ GoogleMapsInspectorPlatform?
-
The instance of GoogleMapsInspectorPlatform, if any.
getter/setter pair