Package | Description |
---|---|
com.gwidgets.api.leaflet |
Modifier and Type | Method and Description |
---|---|
static Map |
L.map(elemental2.dom.HTMLElement element,
MapOptions options)
The central class of the API — it is used to create a map on a page and manipulate it.
|
static Map |
L.map(String id,
MapOptions options)
The central class of the API — it is used to create a map on a page and manipulate it.
|
Modifier and Type | Method and Description |
---|---|
L |
Polyline.addTo(Map map) |
L |
Marker.addTo(Map map) |
L |
Popup.addTo(Map map) |
L |
LayerGroup.addTo(Map map) |
L |
Icon.addTo(Map map) |
L |
CircleMarker.addTo(Map map) |
L |
Layer.addTo(Map map)
Adds the tooltip to the given map
|
L |
Renderer.addTo(Map map) |
L |
ImageOverlay.addTo(Map map) |
L |
GridLayer.addTo(Map map)
Adds the layer to the map.
|
L |
Path.addTo(Map map)
Adds the layer to the map.
|
L |
Control.addTo(Map map)
Adds the control to the map.
|
L |
Tooltip.addTo(Map map) |
elemental2.dom.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.
|
void |
Control.onRemove(Map map)
Optional, should contain all clean up code (e.g.
|
L |
Popup.openOn(Map map)
Adds the popup to the map and closes the previous one.
|
L |
Control.remove(Map map)
Removes the control from the map.
|
L |
Polyline.removeFrom(Map map) |
L |
Marker.removeFrom(Map map) |
L |
Popup.removeFrom(Map map) |
L |
LayerGroup.removeFrom(Map map) |
L |
Icon.removeFrom(Map map) |
L |
CircleMarker.removeFrom(Map map) |
L |
Layer.removeFrom(Map map)
Removes the tooltip from the given map
|
L |
Renderer.removeFrom(Map map) |
L |
ImageOverlay.removeFrom(Map map) |
L |
GridLayer.removeFrom(Map map) |
L |
Tooltip.removeFrom(Map map) |
Copyright © 2018 G-Widgets. All rights reserved.