public class MapModelDelegate extends ComponentModelDelegate
  • Field Details

  • Constructor Details

    • MapModelDelegate

      public MapModelDelegate(Component component)
  • Method Details

    • getZoom

      public double getZoom()
    • getSize

      public org.python.core.PyDictionary getSize()
    • getCenter

      public org.python.core.PyDictionary getCenter()
    • getBounds

      public org.python.core.PyDictionary getBounds()
    • getBoundsAsBBoxString

      public String getBoundsAsBBoxString()
    • zoomIn

      public void zoomIn(org.python.core.PyObject[] pyArgs, String[] keywords)
    • zoomOut

      public void zoomOut(org.python.core.PyObject[] pyArgs, String[] keywords)
    • setZoom

      public void setZoom(org.python.core.PyObject[] pyArgs, String[] keywords)
    • setZoomAround

      public void setZoomAround(org.python.core.PyObject[] pyArgs, String[] keywords)
    • fitBounds

      public void fitBounds(org.python.core.PyObject[] pyArgs, String[] keywords)
    • fitWorld

      public void fitWorld(org.python.core.PyObject[] pyArgs, String[] keywords)
    • panTo

      public void panTo(org.python.core.PyObject[] pyArgs, String[] keywords)
    • panBy

      public void panBy(org.python.core.PyObject[] pyArgs, String[] keywords)
    • flyTo

      public void flyTo(org.python.core.PyObject[] pyArgs, String[] keywords)
    • flyToBounds

      public void flyToBounds(org.python.core.PyObject[] pyArgs, String[] keywords)
    • panInsideBounds

      public void panInsideBounds(org.python.core.PyObject[] pyArgs, String[] keywords)
    • panInside

      public void panInside(org.python.core.PyObject[] pyArgs, String[] keywords)
    • onStartup

      protected void onStartup()
      Specified by:
      onStartup in class AbstractLifecycle
    • onShutdown

      protected void onShutdown()
      Specified by:
      onShutdown in class AbstractLifecycle
    • handleEvent

      public void handleEvent(EventFiredMsg message)
      Description copied from class: ComponentModelDelegate
      A event hook for the delegate. Invoked when a "model" event is fired over the websocket channel by the component's client side model delegate. Subclasses can choose if and how to handle incoming event messages.
      Overrides:
      handleEvent in class ComponentModelDelegate
      Parameters:
      message - EventFiredMsg An event fired message.