Uses of Class
com.jbstrap.jbmap.JBMap
-
Uses of JBMap in com.jbstrap.jbmap
Modifier and TypeMethodDescriptionJBMap.addBaseMapLayer
(BaseMapLayer<?> baseMapLayer) Adds a unique tile layer to the map.JBMap.addClickHandler
(MapClickEventHandler handler) Adds a map click event handler to the map.JBMap.addDivLayer
(DivLayer divLayer) Adds a divLayer to the map.JBMap.addLayerGroup
(LayerGroup layerGroup) Adds a new layer group to the map.JBMap.addLayerGroups
(LayerGroup... layerGroups) Adds one or more layer groups to the map.JBMap.addLayerGroups
(List<LayerGroup> layerGroups) Adds a list of layer groups to the map.protected JBMap
JBMap.addLayerStyle
(LayerStyle layerStyle) Adds a LayerStyle to the JBMap.protected JBMap
JBMap.addPointImage
(PointImage pointImage) Adds a PointImage to the JBMap.JBMap.flyTo
(Coordinates coordinates, Integer zoom) "Flying to a point" on the map.LayerGroup.getJBMap()
Gets the JBMap component containing the LayerGroup.JBMap.getLocation
(LocationFoundHandler handler) Gets the user's location and sets the location found event handler.JBMap.removeAllBaseMapLayer()
Removes all tile layers from the map.JBMap.removeBaseMapLayer
(BaseMapLayer<?> baseMapLayer) Deletes a tile layer from the map.JBMap.removeClickHandler
(MapClickEventHandler handler) Removes a map click event handler from the list of map click event handlers.JBMap.removeLayerGroup
(LayerGroup layerGroup) Removes a layerGroup from the map.JBMap.setBoxZoom
(boolean boxZoom) Enables the box zoom feature.JBMap.setCenterCoordinates
(Coordinates coordinates) Sets the map to a specified coordinate.JBMap.setClosePopupOnClick
(boolean closePopupOnClick) Enables the automatic closing of popups when the user clicks on the map.JBMap.setDivLayers
(DivLayer... divLayers) Sets the divLayers by passing an array of divLayers.JBMap.setDivLayers
(List<DivLayer> divLayers) Sets the divLayer by passing a list of divLayers.JBMap.setDoubleClickZoom
(boolean doubleClickZoom) Sets the double click zoom feature on the map.JBMap.setDragging
(boolean dragging) Sets the dragging feature.Sets the map container height.JBMap.setLayerGroups
(LayerGroup... layerGroups) Sets the layer group.JBMap.setLayerGroups
(List<LayerGroup> layerGroups) Sets the map layer groupLayerGroup
.protected JBMap
JBMap.setLayerStyles
(LayerStyle... layerStyles) Adds a LayerStyle array to the JBMap.protected JBMap
JBMap.setLayerStyles
(List<LayerStyle> layerStyles) Adds a list of LayerStyles to the JBMap.JBMap.setMaxZoom
(int maxZoom) Sets the maximum zoom value.JBMap.setMinZoom
(int minZoom) Sets the minimum zoom value.protected JBMap
JBMap.setPointImages
(PointImage... pointImages) Sets a PointImage array in JBMap.protected JBMap
JBMap.setPointImages
(List<PointImage> pointImages) Sets a list of PointImages in the JBMap.JBMap.setScaleShow
(boolean scaleShow) Sets the scale visibility in the lower left corner of the map.JBMap.setScrollWheelZoom
(boolean scrollWheelZoom) Sets the mouse scrolling zoom feature.JBMap.setShowBorder
(boolean showBorder) Sets if a border should be displayed on the map container.JBMap.setShowShadow
(boolean showShadow) Sets if there should be a shadow on the map container.JBMap.setShowTitle
(boolean showTitle) Sets if the map title should be displayed on the map.Sets the map title.JBMap.setTitleFontColor
(String color) Sets the map title color.JBMap.setTitleFontSize
(String fontSize) Sets the map title font size.JBMap.setTitleFontWeight
(FontWeight fontWeight) Sets the map title font weight.JBMap.setTitlePosition
(MapTitlePosition titlePosition) Sets the map title position.JBMap.setTrackResize
(boolean trackResize) "Tracking resize" feature of the map.JBMap.setZoom
(int zoom) The map's zoom setting.JBMap.setZoomAnimation
(boolean zoomAnimation) Sets the zoom animation feature.JBMap.setZoomControlVisible
(boolean zoomControlVisible) Sets the map zoom controls' visibility.JBMap.setZoomDelta
(double zoomDelta) Controls how much the map's zoom level will change after pressing + or - on the keyboard, or using the zoom controls.JBMap.setZoomInText
(String zoomInText) Sets the map's "zoom in" button content.JBMap.setZoomInTitle
(String zoomInTitle) Sets the "zoom in" button's tooltip content.JBMap.setZoomOutText
(String zoomOutText) Sets the "zoom out" button content.JBMap.setZoomOutTitle
(String zoomOutTitle) Sets the "zoom out" button's tooltip content.JBMap.setZoomSnap
(double zoomSnap) Forces the map's zoom level to always be a multiple of this, particularly right after a fitBounds() or a pinch-zoom.Modifier and TypeMethodDescriptionprotected void
LayerGroup.setComponent
(JBMap component) Passes the JBMap component to the LayerGroup class instance.Modifier and TypeMethodDescriptionprotected void
DivLayer.setComponent
(com.jbstrap.ui.Component<JBMap> component) Passes the JBMap component to the DivLayer class instance.