Package | Description |
---|---|
com.gwidgets.api.leaflet | |
com.gwidgets.api.leaflet.events | |
com.gwidgets.api.leaflet.options |
Modifier and Type | Class and Description |
---|---|
class |
Canvas
Used to create Canvas-based tile layers where tiles get drawn on the browser side.
|
class |
Circle
A class for drawing circle overlays on a map.
|
class |
CircleMarker
A circle of a fixed size with radius specified in pixels.
|
class |
DivIcon
Represents a lightweight icon for markers that uses a simple div element instead of an image.
|
class |
FeatureGroup
Extended layerGroup that also has mouse events (propagated from members of the group) and a shared bindPopup method.
|
class |
GeoJSON
Represents a GeoJSON object or an array of GeoJSON objects.
|
class |
GridLayer |
class |
Icon
Represents an icon to provide when creating a marker.
|
class |
ImageOverlay
Used to load and display a single image over specific bounds of the map, implements ILayer interface.
|
class |
LayerGroup
Used to group several layers and handle them as one.
|
class |
Marker
Used to put markers on the map.
|
class |
Polygon
A class for drawing polygon overlays on a map.
|
class |
Polyline
A class for drawing polyline overlays on a map.
|
class |
Popup
Used to open popups in certain places of the map.
|
class |
Rectangle
A class for drawing rectangle overlays on a map.
|
class |
Renderer |
class |
SVG |
class |
TileLayer
Used to load and display tile layers on the map,.
|
class |
Tooltip
The Class Tooltip.
|
class |
WMS
Used to display WMS services as tile layers on the map.
|
Modifier and Type | Method and Description |
---|---|
static Layer |
GeoJSON.geometryToLayer(com.google.gwt.core.client.JavaScriptObject featureData,
elemental2.core.Function pointToLayer)
Creates a layer from a given GeoJSON feature.
|
Layer[] |
LayerGroup.getLayers()
Returns an array of all the layers added to the group.
|
Modifier and Type | Method and Description |
---|---|
L |
Layers.addBaseLayer(Layer layer,
String name)
Adds a base layer (radio button entry) with the given name to the control.
|
L |
LayerGroup.addLayer(Layer layer)
Adds a given layer to the group.
|
L |
Map.addLayer(Layer layer,
Boolean insertAtTheBottom)
Adds the given layer to the map.
|
L |
Layers.addOverlay(Layer layer,
String name)
Adds an overlay (checkbox entry) with the given name to the control.
|
static FeatureGroup |
L.featureGroup(Layer[] layers)
Extended layerGroup that also has mouse events (propagated from members of the group) and a shared bindPopup method.
|
double |
LayerGroup.getLayerId(Layer layer)
Returns the internal ID for a layer.
|
Boolean |
LayerGroup.hasLayer(Layer layer)
Returns true if the given layer is currently added to the group.
|
Boolean |
Map.hasLayer(Layer layer)
Returns true if the given layer is currently added to the map.
|
static LayerGroup |
L.layerGroup(Layer[] layers)
Used to group several layers and handle them as one.
|
static Popup |
L.popup(PopupOptions options,
Layer source)
Used to open popups in certain places of the map.
|
L |
LayerGroup.removeLayer(Layer layer)
Removes a given layer from the group.
|
L |
Map.removeLayer(Layer layer)
Removes the given layer from the map.
|
L |
Layers.removeLayer(Layer layer)
Remove the given layer from the control.
|
static Tooltip |
L.tooltip(TooltipOptions options,
Layer source)
Instantiates a Tooltip object given an optional options object that describes its appearance and location and an optional source object that is used to tag the tooltip with a reference to the Layer to which it refers.
|
Modifier and Type | Method and Description |
---|---|
Layer |
LayersControlEvent.getLayer()
Gets the layer that was added or removed.
|
Layer |
LayerEvent.getLayer()
Gets the layer that was added or removed.
|
Layer |
GeoJSONEvent.getLayer()
Gets the layer for the GeoJSON feature that is being added to the map.
|
Modifier and Type | Method and Description |
---|---|
Layer[] |
MapOptions.getLayers()
Gets the Layers that will be added to the map initially.
|
Modifier and Type | Method and Description |
---|---|
elemental2.core.Function |
GeoJSONOptions.filter(com.google.gwt.core.client.JavaScriptObject featureData,
Layer layer)
Function that will be used to decide whether to show a feature or not.
|
MapOptions.Builder |
MapOptions.Builder.layers(Layer[] layers)
Layers that will be added to the map initially.
|
elemental2.core.Function |
GeoJSONOptions.onEachFeature(com.google.gwt.core.client.JavaScriptObject featureData,
Layer layer)
Function that will be called on each created feature layer.
|
Copyright © 2018 G-Widgets. All rights reserved.