new cercalia.Control.StreetView(opt_options)
Name | Type | Description |
---|---|---|
options |
cercaliax.Control.StreetViewOptions |
Extends
Methods
-
close()
-
Close StreetView window
-
disable()
-
Disable StreetView control
-
enable()
-
Enable StreetView control
-
getClass(){string} inherited
-
Returns:
class
-
getDiv(){HTMLElement|null}
-
Get Street View Div
-
getElement(){HTMLElement} inherited
-
Obtain the control DOM element
Returns:
DOM Element
-
getName(){string} inherited
-
Returns the control name
Returns:
Control name
-
hide() inherited
-
Hide the control
-
isOpen(){boolean}
-
Returns if StreetView window is opened
-
Open StreetView window
-
setPosition(position)
-
Set position of street view panorama.
Name Type Description position
cercalia.LonLat -
setSize(width, height)
-
Resize StreetView dialog
Name Type Description width
number height
number -
show() inherited
-
Shows the control