Package org.teamapps.ux.component.map
Class MapView2<RECORD>
java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.map.MapView2<RECORD>
- All Implemented Interfaces:
ClientObject,Component
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Event<LocationChangedEventData> final Event<AbstractMapShape> Fields inherited from class org.teamapps.ux.component.AbstractComponent
DELETED_ATTRIBUTE, onRendered -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddMarkers(List<Marker<RECORD>> markers) voidaddMarkerToCluster(Marker<RECORD> marker) voidaddPolyLine(MapPolyline polyline) voidaddShape(AbstractMapShape shape) voidvoidvoidvoidvoidfloatvoidhandleUiEvent(UiEvent event) booleanbooleanbooleanbooleanvoidremoveMarker(Marker<RECORD> marker) voidremoveShape(AbstractMapShape shape) voidsetDefaultMarkerTemplate(Template defaultTemplate) voidsetDisplayAttributionControl(boolean displayAttributionControl) voidsetDisplayNavigationControl(boolean displayNavigationControl) voidsetDisplayVoronoiCells(boolean enable) voidsetHeatMap(List<Location> locations) voidsetHeatMap(List<Location> locations, int maxCount) voidsetHeatMap(List<Location> locations, int maxCount, int radius, int blurZoomLevel) voidsetHeatMap(UiHeatMapData heatMap) voidsetLatitude(double latitude) voidsetLocation(double latitude, double longitude) voidsetLocation(Location location) voidsetLocation(Location location, long animationDurationMillis, int targetZoomLevel) voidsetLongitude(double longitude) voidsetMarkerCluster(List<Marker<RECORD>> markers) voidsetMarkerCluster(List<Marker<RECORD>> markers, int clusterRadiusInPixel) voidsetMarkerPropertyExtractor(PropertyExtractor<RECORD> propertyExtractor) voidsetMarkerPropertyProvider(PropertyProvider<RECORD> propertyProvider) voidsetMarkerTemplateDecider(TemplateDecider<Marker<RECORD>> templateDecider) voidsetStyleUrl(String styleUrl) voidsetZoomLevel(int zoomLevel) voidstartDrawingShape(MapShapeType shapeType, ShapeProperties shapeProperties) voidMethods inherited from class org.teamapps.ux.component.AbstractComponent
createUiReference, getDebuggingId, getId, getParent, getSessionContext, isRendered, isVisible, mapAbstractUiComponentProperties, queueCommandIfRendered, render, reRenderIfRendered, setAttribute, setCssStyle, setDebuggingId, setParent, setVisible, toggleCssClass, toString, unrenderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.ux.component.ClientObject
handleUiQueryMethods inherited from interface org.teamapps.ux.component.Component
setAriaLabel, setAttribute, setCssStyle, setHtmlTitle, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setShadow, toggleCssClass
-
Field Details
-
onLocationChanged
-
onZoomLevelChanged
-
onMapClicked
-
onMarkerClicked
-
onShapeDrawn
-
-
Constructor Details
-
MapView2
Deprecated.parameters baseApiUrl and accessToken are obsolete. -
MapView2
-
-
Method Details
-
createUiComponent
- Specified by:
createUiComponentin classAbstractComponent
-
handleUiEvent
-
addPolyLine
-
addShape
-
removeShape
-
clearShapes
public void clearShapes() -
setMarkerCluster
-
setMarkerCluster
-
addMarkerToCluster
-
clearMarkerCluster
public void clearMarkerCluster() -
setHeatMap
-
setHeatMap
-
setHeatMap
-
setHeatMap
-
clearHeatMap
public void clearHeatMap() -
getStyleUrl
-
setStyleUrl
-
setZoomLevel
public void setZoomLevel(int zoomLevel) -
setLocation
-
setLocation
public void setLocation(double latitude, double longitude) -
setLocation
-
setLatitude
public void setLatitude(double latitude) -
setLongitude
public void setLongitude(double longitude) -
getZoomLevel
public float getZoomLevel() -
getLocation
-
addMarkers
-
addMarker
-
removeMarker
-
clearMarkers
public void clearMarkers() -
isDisplayVoronoiCells
public boolean isDisplayVoronoiCells() -
setDisplayVoronoiCells
public void setDisplayVoronoiCells(boolean enable) -
fitBounds
-
getDefaultTemplate
-
setDefaultMarkerTemplate
-
getTemplateDecider
-
setMarkerTemplateDecider
-
getMarkerPropertyProvider
-
setMarkerPropertyProvider
-
setMarkerPropertyExtractor
-
isDisplayAttributionControl
public boolean isDisplayAttributionControl() -
setDisplayAttributionControl
public void setDisplayAttributionControl(boolean displayAttributionControl) -
startDrawingShape
-
stopDrawingShape
public void stopDrawingShape() -
isDrawingShapeStarted
public boolean isDrawingShapeStarted()
-