Package | Description |
---|---|
com.gwidgets.api.leaflet | |
com.gwidgets.api.leaflet.elemental | |
com.gwidgets.api.leaflet.events |
Modifier and Type | Field and Description |
---|---|
HTMLElement |
MapPanes.mapPane
Pane that contains all other map panes.
|
HTMLElement |
MapPanes.markerPane
Pane for marker icons.
|
HTMLElement |
MapPanes.objectsPane
Pane that contains all the panes except tile pane.
|
HTMLElement |
MapPanes.overlayPane
Pane for overlays like polylines and polygons.
|
HTMLElement |
MapPanes.popupPane
Pane for popups.
|
HTMLElement |
MapPanes.shadowPane
Pane for overlay shadows (e.g.
|
HTMLElement |
MapPanes.tilePane
Pane for tile layers.
|
Modifier and Type | Method and Description |
---|---|
HTMLElement |
TileLayer.getContainer()
Returns the HTML element that contains the tiles for this layer.
|
HTMLElement |
Map.getContainer()
Returns the container element of the map.
|
HTMLElement |
GridLayer.getContainer()
Returns the HTML element that contains the tiles for this layer.
|
HTMLElement |
Control.getContainer()
Returns the HTML container of the control.
|
HTMLElement |
Popup.getContentAsHTMLElement()
gets the HTML content of the popup.
|
HTMLElement |
Tooltip.getPane(java.lang.String name) |
HTMLElement |
Renderer.getPane(java.lang.String name) |
HTMLElement |
Popup.getPane(java.lang.String name) |
HTMLElement |
Polyline.getPane(java.lang.String name) |
HTMLElement |
Marker.getPane(java.lang.String name) |
HTMLElement |
LayerGroup.getPane(java.lang.String name) |
HTMLElement |
Layer.getPane(java.lang.String name)
Returns the HTMLElement representing the named pane on the map.
|
HTMLElement |
ImageOverlay.getPane(java.lang.String name) |
HTMLElement |
Icon.getPane(java.lang.String name) |
HTMLElement |
GridLayer.getPane(java.lang.String name) |
HTMLElement |
CircleMarker.getPane(java.lang.String name) |
HTMLElement |
Control.onAdd(Map map)
Should contain code that creates all the neccessary DOM elements for the control, adds listeners on relevant map events, and returns the element containing the control.
|
Modifier and Type | Method and Description |
---|---|
L |
Tooltip.bindPopup(HTMLElement content,
PopupOptions options) |
L |
Renderer.bindPopup(HTMLElement content,
PopupOptions options) |
L |
Popup.bindPopup(HTMLElement content,
PopupOptions options) |
L |
Polyline.bindPopup(HTMLElement content,
PopupOptions options) |
L |
Path.bindPopup(HTMLElement el,
PopupOptions options)
Binds a popup with a particular HTML content to a click on this path.
|
L |
Marker.bindPopup(HTMLElement content,
PopupOptions options) |
L |
LayerGroup.bindPopup(HTMLElement content,
PopupOptions options) |
L |
Layer.bindPopup(HTMLElement content,
PopupOptions options)
Binds a popup to the layer with the passed content and sets up the neccessary event listeners.
|
L |
ImageOverlay.bindPopup(HTMLElement content,
PopupOptions options) |
L |
Icon.bindPopup(HTMLElement content,
PopupOptions options) |
L |
GridLayer.bindPopup(HTMLElement content,
PopupOptions options) |
L |
CircleMarker.bindPopup(HTMLElement content,
PopupOptions options) |
L |
Tooltip.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
Renderer.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
Popup.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
Polyline.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
Marker.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
LayerGroup.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
Layer.bindTooltip(HTMLElement content,
TooltipOptions options)
Binds a tooltip to the layer with the passed *content and sets up the neccessary event listeners.
|
L |
ImageOverlay.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
Icon.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
GridLayer.bindTooltip(HTMLElement content,
TooltipOptions options) |
L |
CircleMarker.bindTooltip(HTMLElement content,
TooltipOptions options) |
static Map |
L.map(HTMLElement element,
MapOptions options)
The central class of the API — it is used to create a map on a page and manipulate it.
|
L |
Map.openPopup(HTMLElement el,
LatLng latlng,
PopupOptions options)
Creates a popup with the specified options and opens it in the given point on a map.
|
L |
Popup.setContent(HTMLElement htmlContent)
Sets the HTML content of the popup.
|
L |
Tooltip.setPopupContent(HTMLElement content) |
L |
Renderer.setPopupContent(HTMLElement content) |
L |
Popup.setPopupContent(HTMLElement content) |
L |
Polyline.setPopupContent(HTMLElement content) |
L |
Marker.setPopupContent(HTMLElement content) |
L |
LayerGroup.setPopupContent(HTMLElement content) |
L |
Layer.setPopupContent(HTMLElement content)
Sets the content of the popup bound to this layer.
|
L |
ImageOverlay.setPopupContent(HTMLElement content) |
L |
Icon.setPopupContent(HTMLElement content) |
L |
GridLayer.setPopupContent(HTMLElement content) |
L |
CircleMarker.setPopupContent(HTMLElement content) |
L |
Marker.setPopupContent(HTMLElement el,
PopupOptions options)
Sets an HTML content of the popup of this marker.
|
L |
Tooltip.setTooltipContent(HTMLElement content) |
L |
Renderer.setTooltipContent(HTMLElement content) |
L |
Popup.setTooltipContent(HTMLElement content) |
L |
Polyline.setTooltipContent(HTMLElement content) |
L |
Marker.setTooltipContent(HTMLElement content) |
L |
LayerGroup.setTooltipContent(HTMLElement content) |
L |
Layer.setTooltipContent(HTMLElement content)
Sets the content of the tooltip bound to this layer.
|
L |
ImageOverlay.setTooltipContent(HTMLElement content) |
L |
Icon.setTooltipContent(HTMLElement content) |
L |
GridLayer.setTooltipContent(HTMLElement content) |
L |
CircleMarker.setTooltipContent(HTMLElement content) |
Modifier and Type | Class and Description |
---|---|
class |
HTMLCanvasElement |
class |
HTMLLinkElement |
class |
HTMLScriptElement |
Modifier and Type | Method and Description |
---|---|
static HTMLElement |
Document.createElement(java.lang.String tag) |
static HTMLElement |
Document.getBody() |
static HTMLElement |
Document.getElementById(java.lang.String id) |
static HTMLElement |
Document.getHead() |
Modifier and Type | Method and Description |
---|---|
HTMLElement |
Event.getTarget()
Gets the object that fired the event..
|
HTMLElement |
TileEvent.getTile()
Gets the tile element (image).
|
HTMLElement |
TileErrorEvent.getTile()
Gets the tile element (image).
|