Package | Description |
---|---|
com.gwidgets.api.leaflet | |
com.gwidgets.api.leaflet.elemental | |
com.gwidgets.api.leaflet.events |
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 |
Control.getContainer()
Returns the HTML container of the control.
|
HTMLElement |
IControl.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.
|
HTMLElement |
Control.onAdd(Map map) |
Modifier and Type | Method and Description |
---|---|
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 el,
PopupOptions options)
Binds a popup with a particular HTML content to a click on this marker.
|
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 |
PosAnimation.run(HTMLElement element,
Point newPos,
java.lang.Number duration,
java.lang.Number easeLinearity)
Runs an animation of a given element to a new position, optionally setting duration in seconds (0.25 by default) and easing linearity factor (3rd argument of the cubic bezier curve, 0.5 by default).
|
L |
Popup.setContent(HTMLElement htmlContent)
Sets the HTML content of the popup.
|
L |
Marker.setPopupContent(HTMLElement el,
PopupOptions options)
Sets an HTML content of the popup of this marker.
|
Modifier and Type | Class and Description |
---|---|
class |
HTMLCanvasElement |
Modifier and Type | Method and Description |
---|---|
static HTMLElement |
Document.getElementById(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
HTMLElement |
Event.getTarget() |
HTMLElement |
TileEvent.getTile() |
HTMLElement |
ResizeEvent.getTile() |
HTMLElement |
PopupEvent.getTile() |
HTMLElement |
GeoJSONEvent.getTile() |