public class StreetViewControlOptions extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
StreetViewControlOptions.Property |
Constructor and Description |
---|
StreetViewControlOptions()
Creates new StreetViewControlOptions object.
|
StreetViewControlOptions(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ControlPosition |
getPosition()
Returns value of position property.
|
void |
setPosition(ControlPosition position)
Sets new value for position property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public StreetViewControlOptions()
@Deprecated public StreetViewControlOptions(Map map)
public ControlPosition getPosition()
Contains the Position id. Used to specify the position of the control on the map. The default position is embedded within the navigation (zoom and pan) controls. If this position is empty or the same as that specified in the zoomControlOptions or panControlOptions, the Street View control will be displayed as part of the navigation controls. Otherwise, it will be displayed separately.
setPosition(com.teamdev.jxmaps.ControlPosition)
public void setPosition(ControlPosition position)
position
- new property valuegetPosition()