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

public class GridLayer extends Layer
  • Constructor Details

    • GridLayer

      protected GridLayer()
  • Method Details

    • create

      public static GridLayer create(GridLayerOptions options)
    • 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

      public final com.google.gwt.core.client.JavaScriptObject addLoadListener(LoadListener listener)
      Adds load listener to the layer. http://leafletjs.com/reference-1.2.0.html#gridlayer-load

      The 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-load

      The 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