@Component(tag="gmap",
widgetModule="fujion-gmaps",
widgetClass="GMap",
parentTag="*",
description="Google Maps component.")
public class GoogleMap
extends org.fujion.component.BaseUIComponent
| Constructor and Description |
|---|
GoogleMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
LatLng |
getCenter()
Returns the current center of the map.
|
MapOptions |
getOptions() |
TiltAngle |
getTilt()
Returns the tilt setting, which controls the automatic switching behavior for the angle of
incidence of the map.
|
int |
getZoom()
Returns the
zoom value. |
void |
panBy(double x,
double y)
Changes the center of the map by the given distance in pixels.
|
void |
panTo(LatLng center)
Changes the center of the map to the given LatLng.
|
void |
panToBounds(LatLngBounds bounds)
Pans the map by the minimum amount necessary to contain the given LatLngBounds.
|
void |
run() |
void |
setCenter(LatLng center)
Sets the current center of the map.
|
void |
setTilt(TiltAngle tilt)
Set the current tilt value, which controls the automatic switching behavior for the angle of
incidence of the map.
|
void |
setZoom(int zoom)
Sets the current
zoom value. |
_syncClasses, _syncStyles, addClass, addMask, addMask, addMask, addStyle, addStyles, afterRemoveChild, focus, getBalloon, getClasses, getContext, getCss, getDragid, getDropid, getFirstVisibleChild, getFirstVisibleChild, getFlex, getHeight, getHint, getKeycapture, getPopup, getStyle, getStyles, getTabindex, getWidth, hide, isDisabled, isVisible, print, print, removeClass, removeMask, removeStyle, reportSize, scrollIntoView, setBalloon, setClasses, setContext, setCss, setDisabled, setDragid, setDropid, setFlex, setFocus, setHeight, setHint, setKeycapture, setPopup, setStyles, setTabindex, setVisible, setWidth, show, toggleClass_attach, _initProps, addChild, addChild, addChild, addChildren, addComposite, addEventForward, addEventForward, addEventForward, addEventForward, addEventListener, addEventListener, addEventListener, addEventListener, afterAddChild, afterSetParent, areEqual, beforeAddChild, beforeRemoveChild, beforeSetParent, bind, bringToFront, defaultify, destroy, destroyChildren, detach, detachChildren, disableChildren, disableChildren, finalize, findAllNamed, findAttribute, findByName, findByName, findChild, findChildByData, findChildByLabel, findChildByLabel, fireEvent, fireEvent, fireEventToClient, fireEventToClient, getAncestor, getAncestor, getAttribute, getAttribute, getAttributes, getChildAt, getChildCount, getChildCount, getChildren, getChildren, getContent, getControllers, getData, getData, getDefinition, getFirstChild, getFirstChild, getId, getIndex, getLastChild, getLastController, getLastController, getName, getNamespace, getNextSibling, getNextSibling, getPage, getParent, getPreviousSibling, getPreviousSibling, getRoot, hasChildren, hasEventListener, hasEventListener, initialize, invoke, invoke, invoke, invoke, invoke, invokeIfAttached, isAncestor, isContainer, isContentSynced, isDead, isInitializing, isNamespace, isRendered, loadModule, loadModule, notifyAncestors, notifyDescendants, nullify, onAttach, onDestroy, propertyChange, propertyChange, removeChild, removeEventForward, removeEventForward, removeEventForward, removeEventForward, removeEventListener, removeEventListener, removeEventListener, removeEventListener, setContent, setContentSynced, setData, setIndex, setName, setNamespace, setParent, sub, swapChildren, sync, toString, trimify, validate, validate, validateChild, validateIsChild, validateName, validatePage, validateParent, wireController, wireControllerpublic void run()
public void clear()
public MapOptions getOptions()
public void panBy(double x,
double y)
x - The x increment.y - The y increment.public void panTo(LatLng center)
center - The new map center.public void panToBounds(LatLngBounds bounds)
bounds - The new bounds.@Component.PropertyGetter(value="center",
description="The latitude and longitude of the current center of the map.")
public LatLng getCenter()
public void setCenter(LatLng center)
center - The current center of the map.@Component.PropertyGetter(value="tilt",
description="Controls the automatic switching behavior for the angle of incidence of the map.")
public TiltAngle getTilt()
@Component.PropertySetter(value="tilt",
description="Controls the automatic switching behavior for the angle of incidence of the map.")
public void setTilt(TiltAngle tilt)
tilt - The new tilt setting.@Component.PropertyGetter(value="zoom",
description="The zoom value.")
public int getZoom()
zoom value.@Component.PropertySetter(value="zoom",
description="The zoom value.")
public void setZoom(int zoom)
zoom value.zoom - The new zoom value.Copyright © 2023 Fujion Framework. All rights reserved.