Class GridLayer
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
io.jmix.mapsui.widget.leaflet.client.Layer
io.jmix.mapsui.widget.leaflet.client.GridLayer
- Direct Known Subclasses:
TileLayer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal com.google.gwt.core.client.JavaScriptObject
addLoadingListener
(LoadingListener listener) Adds loading listener to the layer.final com.google.gwt.core.client.JavaScriptObject
addLoadListener
(LoadListener listener) Adds load listener to the layer.final void
Brings the tile layer to the bottom of all tile layers.final void
Brings the tile layer to the top of all tile layers.static GridLayer
create
(GridLayerOptions options) Methods inherited from class io.jmix.mapsui.widget.leaflet.client.Layer
addClickListener, addContextMenuListener, addLayerRemovedListener, addMouseOutListener, addMouseOverListener, removeClickListener, removeContextMenuListener, removeListener, removeMouseOutListener, removeMouseOverListener
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
GridLayer
protected GridLayer()
-
-
Method Details
-
create
-
bringToFront
public final void bringToFront()Brings the tile layer to the top of all tile layers. -
bringToBack
public final void bringToBack()Brings the tile layer to the bottom of all tile layers. -
addLoadListener
Adds load listener to the layer. http://leafletjs.com/reference-1.2.0.html#gridlayer-loadThe listeners are called when all visible tiles are loaded.
- Parameters:
listener
- the listener- Returns:
- a handle that can be used to remove this specific listener from the map
-
addLoadingListener
public final com.google.gwt.core.client.JavaScriptObject addLoadingListener(LoadingListener listener) Adds loading listener to the layer. http://leafletjs.com/reference-1.2.0.html#gridlayer-loadThe listeners are called when the tile layer starts loading tiles.
- Parameters:
listener
- the listener- Returns:
- a handle that can be used to remove this specific listener from the map
-