flutter_google_street_view library

Classes

BitmapDescriptor
Defines a bitmap image. For a marker, this class can be used to set the image of the marker icon. For a ground overlay, it can be used to set the image to place on the surface of the earth.
CameraChangeEvent
An event fired when the Camera of a viewId starts changing.
CloseClickEvent
ControlPosition
FlutterGoogleStreetView
LatLng
MapsObject<T>
A common interface for maps types.
MapsObjectId<T>
Uniquely identifies object an among StreetView collections of a specific type.
MapsObjectUpdates<T extends MapsObject>
Update specification for a set of objects.
Marker
Marks a geographical location on the street view.
MarkerId
Uniquely identifies a Marker among StreetView markers.
MarkerTapEvent
An event fired when a Marker is tapped.
MarkerUpdates
Marker update events to be applied to the StreetView.
MethodChannelStreetViewFlutter
PanoramaChangeData
An data structure to save feedback data of PanoramaChangeEvent.
PanoramaChangeEvent
An event fired when the Panorama of a viewId changed.
PanoramaClickData
An data structure to save feedback data of PanoramaC147hangeEvent.
PanoramaClickEvent
An event fired when the Panorama of a viewId was clicked.
PanoramaLongClickEvent
An event fired when the Panorama of a viewId was clicked by long press.
StreetViewCameraPosition
StreetViewController
StreetViewEvent<T>
StreetViewFlutterPlatform
StreetViewPanoramaCamera
StreetViewPanoramaLocation
StreetViewPanoramaOptions
StreetViewPanoramaOrientation
StreetViewSource

Functions

keyByMarkerId(Iterable<Marker> markers) Map<MarkerId, Marker>
Converts an Iterable of Markers in a Map of MarkerId -> Marker.
putToMapIfNonNull(Map param, dynamic key, dynamic value) → void
A util to put value to json object with key while value is not null.
serializeMarkerSet(Set<Marker> markers) Object
Converts a Set of Markers into something serializable in JSON.

Typedefs

CameraChangeListener = void Function(StreetViewPanoramaCamera camera)
Callback that receiving last camera position.
CloseClickListener = void Function()
Callback that receiving last close button on click event on current panorama. Web only
PanoramaChangeListener = void Function(StreetViewPanoramaLocation? location, Exception? e)
Callback that receiving last panorama location and information near panoramas.
PanoramaClickListener = void Function(StreetViewPanoramaOrientation orientation, Point<num> point)
Callback that receiving last tap event on current panorama. Web not support
PanoramaLongClickListener = void Function(StreetViewPanoramaOrientation orientation, Point<num> point)
Callback that receiving last long tap event on current panorama. Web not support
StreetViewCreatedCallback = void Function(StreetViewController controller)
Callback method for when the streetView is ready to be used.