Class MapView2<RECORD>

java.lang.Object
org.teamapps.ux.component.AbstractComponent
org.teamapps.ux.component.map.MapView2<RECORD>
All Implemented Interfaces:
ClientObject, Component

public class MapView2<RECORD> extends AbstractComponent
  • Field Details

  • Constructor Details

    • MapView2

      public MapView2(String baseApiUrl, String accessToken, String styleUrl)
      Deprecated.
      parameters baseApiUrl and accessToken are obsolete.
    • MapView2

      public MapView2(String styleUrl)
  • Method Details

    • createUiComponent

      public UiComponent createUiComponent()
      Specified by:
      createUiComponent in class AbstractComponent
    • handleUiEvent

      public void handleUiEvent(UiEvent event)
    • addPolyLine

      public void addPolyLine(MapPolyline polyline)
    • addShape

      public void addShape(AbstractMapShape shape)
    • removeShape

      public void removeShape(AbstractMapShape shape)
    • clearShapes

      public void clearShapes()
    • setMarkerCluster

      public void setMarkerCluster(List<Marker<RECORD>> markers)
    • setMarkerCluster

      public void setMarkerCluster(List<Marker<RECORD>> markers, int clusterRadiusInPixel)
    • addMarkerToCluster

      public void addMarkerToCluster(Marker<RECORD> marker)
    • clearMarkerCluster

      public void clearMarkerCluster()
    • setHeatMap

      public void setHeatMap(List<Location> locations)
    • setHeatMap

      public void setHeatMap(List<Location> locations, int maxCount)
    • setHeatMap

      public void setHeatMap(List<Location> locations, int maxCount, int radius, int blurZoomLevel)
    • setHeatMap

      public void setHeatMap(UiHeatMapData heatMap)
    • clearHeatMap

      public void clearHeatMap()
    • getStyleUrl

      public String getStyleUrl()
    • setStyleUrl

      public void setStyleUrl(String styleUrl)
    • setZoomLevel

      public void setZoomLevel(int zoomLevel)
    • setLocation

      public void setLocation(Location location)
    • setLocation

      public void setLocation(double latitude, double longitude)
    • setLocation

      public void setLocation(Location location, long animationDurationMillis, int targetZoomLevel)
    • setLatitude

      public void setLatitude(double latitude)
    • setLongitude

      public void setLongitude(double longitude)
    • getZoomLevel

      public float getZoomLevel()
    • getLocation

      public Location getLocation()
    • addMarkers

      public void addMarkers(List<Marker<RECORD>> markers)
    • addMarker

      public void addMarker(Marker<RECORD> marker)
    • removeMarker

      public void removeMarker(Marker<RECORD> marker)
    • clearMarkers

      public void clearMarkers()
    • isDisplayVoronoiCells

      public boolean isDisplayVoronoiCells()
    • setDisplayVoronoiCells

      public void setDisplayVoronoiCells(boolean enable)
    • fitBounds

      public void fitBounds(Location southWest, Location northEast)
    • getDefaultTemplate

      public Template getDefaultTemplate()
    • setDefaultMarkerTemplate

      public void setDefaultMarkerTemplate(Template defaultTemplate)
    • getTemplateDecider

      public TemplateDecider<Marker<RECORD>> getTemplateDecider()
    • setMarkerTemplateDecider

      public void setMarkerTemplateDecider(TemplateDecider<Marker<RECORD>> templateDecider)
    • getMarkerPropertyProvider

      public PropertyProvider<RECORD> getMarkerPropertyProvider()
    • setMarkerPropertyProvider

      public void setMarkerPropertyProvider(PropertyProvider<RECORD> propertyProvider)
    • setMarkerPropertyExtractor

      public void setMarkerPropertyExtractor(PropertyExtractor<RECORD> propertyExtractor)
    • isDisplayAttributionControl

      public boolean isDisplayAttributionControl()
    • setDisplayAttributionControl

      public void setDisplayAttributionControl(boolean displayAttributionControl)
    • isDisplayNavigationControl

      public boolean isDisplayNavigationControl()
    • setDisplayNavigationControl

      public void setDisplayNavigationControl(boolean displayNavigationControl)
    • startDrawingShape

      public void startDrawingShape(MapShapeType shapeType, ShapeProperties shapeProperties)
    • stopDrawingShape

      public void stopDrawingShape()
    • isDrawingShapeStarted

      public boolean isDrawingShapeStarted()