public class StreetViewPanoramaWidget extends MVCObjectWidget<StreetViewPanoramaImpl>
<div> or bound to a Map. This class extends MVCObject. UIObject.DebugIdImpl, UIObject.DebugIdImplEnabledDEBUG_ID_PREFIX| Constructor and Description |
|---|
StreetViewPanoramaWidget(StreetViewPanoramaOptions options)
Displays the panorama for a given LatLng or panorama ID.
|
| Modifier and Type | Method and Description |
|---|---|
HandlerRegistration |
addCloseClickHandler(CloseClickMapHandler handler)
This event is fired when the close button is clicked.
|
HandlerRegistration |
addLinksChangeHandler(LinksChangeMapHandler handler)
This event is fired when the panorama's links change.
|
HandlerRegistration |
addPanoChangeHandler(PanoChangeMapHandler handler)
This event is fired when the panorama's pano id changes.
|
HandlerRegistration |
addPositionChangeHandler(PositionChangeMapHandler handler)
This event is fired when the panorama's position changes.
|
HandlerRegistration |
addPovChangeHandler(PovChangeMapHandler handler)
This event is fired when the panorama's point-of-view changes.
|
HandlerRegistration |
addResizeHandler(ResizeMapHandler handler)
Developers should trigger this event on the panorama when its div changes size: google.maps.event.trigger(panorama,
'resize').
|
HandlerRegistration |
addVisibleChangeHandler(VisibleChangeMapHandler handler)
This event is fired when the panorama's visibility changes.
|
StreetViewPanoramaImpl |
getJso()
get the JavaScriptObject overlay
|
JsArray<StreetViewLink> |
getLinks()
Returns the set of navigation links for the Street View panorama.
|
String |
getPano()
Returns the current panorama ID for the Street View panorama.
|
LatLng |
getPosition()
Returns the current LatLng position for the Street View panorama.
|
StreetViewPov |
getPov()
Returns the current point of view for the Street View panorama.
|
boolean |
getVisible()
Returns true if the panorama is visible.
|
static StreetViewPanoramaWidget |
newInstance(StreetViewPanoramaImpl impl)
create widget from a previous jso implementation
|
void |
registerPanoProvider(StreetViewPanoramaProvider provider)
Set the custom panorama provider called on pano change to load custom panoramas.
|
void |
setControls(MVCArray<Element> controls)
TODO Additional controls to attach to the panorama.
|
void |
setPano(String pano)
Sets the current panorama ID for the Street View panorama.
|
void |
setPosition(LatLng latlng)
Sets the current LatLng position for the Street View panorama.
|
void |
setPov(StreetViewPov pov)
Sets the point of view for the Street View panorama.
|
void |
setVisible(boolean visible)
Sets to true to make the panorama visible.
|
getMVCObjectaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEventspublic StreetViewPanoramaWidget(StreetViewPanoramaOptions options)
<div> or bound to a Map. This class extends
MVCObject.public static StreetViewPanoramaWidget newInstance(StreetViewPanoramaImpl impl)
impl - public StreetViewPanoramaImpl getJso()
public JsArray<StreetViewLink> getLinks()
public String getPano()
public LatLng getPosition()
public StreetViewPov getPov()
public boolean getVisible()
public void registerPanoProvider(StreetViewPanoramaProvider provider)
provider - public void setPano(String pano)
pano - public void setPosition(LatLng latlng)
latlng - public void setPov(StreetViewPov pov)
pov - public void setVisible(boolean visible)
<div>.setVisible in interface HasVisibilitysetVisible in class UIObjectvisible - public void setControls(MVCArray<Element> controls)
<div> to the MVCArray corresponding to the ControlPosition where it should be rendered.controls - public HandlerRegistration addCloseClickHandler(CloseClickMapHandler handler)
handler - public HandlerRegistration addLinksChangeHandler(LinksChangeMapHandler handler)
handler - public HandlerRegistration addPanoChangeHandler(PanoChangeMapHandler handler)
handler - public HandlerRegistration addPositionChangeHandler(PositionChangeMapHandler handler)
handler - public HandlerRegistration addPovChangeHandler(PovChangeMapHandler handler)
handler - public HandlerRegistration addResizeHandler(ResizeMapHandler handler)
handler - public HandlerRegistration addVisibleChangeHandler(VisibleChangeMapHandler handler)
handler - Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.