StreetViewController class

Properties

hashCode int
The hash code for this object.
no setterinherited
isAddressControl bool
Return street view is able to use address control. Web only
no setter
isDisableDefaultUI bool
Return street view is able to use all default UI. Web only
no setter
isDisableDoubleClickZoom bool
Return street view is able to zoom on double click. Web only
no setter
isEnableCloseButton bool
Return street view is able to use close button. Web only
no setter
isFullscreenControl bool
Return street view is able to use fullscreen control. Web only
no setter
isLinksControl bool
Return street view is able to use links control. Web only
no setter
isMotionTracking bool
Return street view is able to use motion tracking. Web only
no setter
isMotionTrackingControl bool
Return street view is able to use motion tracking control. Web only
no setter
isPanControl bool
Return street view is able to use pan control. Web only
no setter
isPanningGesturesEnabled bool
Return street view is able to use panning gestures. Web not support, setPanningGesturesEnabled and isPanningGesturesEnabled always be true
no setter
isScrollwheel bool
Return street view is able to use scrollwheel zooming. Web only
no setter
isStreetNamesEnabled bool
Return street view is displaying street name or not.
no setter
isUserNavigationEnabled bool
Return street view is able user move to another panorama.
no setter
isVisible bool
Return street view is visible on load. Web only
no setter
isZoomControl bool
Return street view is able to use zoom control. Web only
no setter
isZoomGesturesEnabled bool
Return street view is able to use zoom gestures.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewId int
final

Methods

animateTo({required StreetViewPanoramaCamera camera, required int duration}) Future<void>
Animate camera to a given position over a specified duration.
dispose() → void
getLocation() Future<StreetViewPanoramaLocation?>
Return position of current panorama and information of near panoramas
getPanoramaCamera() Future<StreetViewPanoramaCamera>
Return camera setting, bearing, tilt and zoom.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orientationToPoint(StreetViewPanoramaOrientation orientation) Future<Point<num>>
Returns a screen location that corresponds to an orientationStreetViewPanoramaOrientation. Web not support
pointToOrientation(Point<num> point) Future<StreetViewPanoramaOrientation>
Return the orientationStreetViewPanoramaOrientation that corresponds to a screen location. Web not support
setAddressControl(bool enable) Future<void>
Sets street view to allow using address control or not. Web only
setAddressControlOptions(ControlPosition pos) Future<void>
Sets address control display position. Web only
setDisableDefaultUI(bool enable) Future<void>
Sets street view to allow using all default UI or not. Web only
setDisableDoubleClickZoom(bool enable) Future<void>
Sets street view to allow using zoom on double click or not. Web only
setEnableCloseButton(bool enable) Future<void>
Sets street view to allow using close button or not. Web only
setFullscreenControl(bool enable) Future<void>
Sets street view to allow using fullscreen control or not. Web only
setFullscreenControlOptions(ControlPosition pos) Future<void>
Sets fullscreen control display position. Web only
setLinksControl(bool enable) Future<void>
Sets street view to allow using link control or not. Web only
setMotionTracking(bool enable) Future<void>
Sets street view to allow using motion tracking or not. Web only
setMotionTrackingControl(bool enable) Future<void>
Sets street view to allow using motion tracking control or not. Web only
setMotionTrackingControlOptions(ControlPosition pos) Future<void>
Sets motion tracking control display position. Web only
setPanControl(bool enable) Future<void>
Sets street view to allow using pan control or not. Web only
setPanControlOptions(ControlPosition pos) Future<void>
Sets pan control display position. Web only
setPanningGesturesEnabled(bool enable) Future<void>
Sets street view to allow using panning gesture or not. Web not support and isPanningGesturesEnabled always be true
setPosition({LatLng? position, String? panoId, int? radius, StreetViewSource? source}) Future<void>
Sets panorama by given location
setScrollwheel(bool enable) Future<void>
Sets street view to allow using scrollwheel zooming or not. Web only
setStreetNamesEnabled(bool enable) Future<void>
Sets street view to display street name or not.
setUserNavigationEnabled(bool enable) Future<void>
Sets street view to allow moving to another panorama.
setVisible(bool enable) Future<void>
Sets street view is visible. Web only
setZoomControl(bool enable) Future<void>
Sets street view to allow using zoom control or not. Web only
setZoomControlOptions(ControlPosition pos) Future<void>
Sets zoom control display position. Web only
setZoomGesturesEnabled(bool enable) Future<void>
Sets street view to allow using zoom gestures or not. Web not support and isZoomGesturesEnabled always be true
toString() String
A string representation of this object.
inherited
updateMarkers(MarkerUpdates markerUpdates) Future<void>
Updates marker configuration.
updateStreetView(Map<String, dynamic> optionsUpdate) Future
Updates configuration options of the street view user interface.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init(int id, StreetViewBaseState streetViewState) Future<StreetViewController>
Initialize control of a FlutterGoogleStreetView with id.