Class MapModelDelegate
java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
com.inductiveautomation.perspective.gateway.components.MapModelDelegate
-
Field Summary
FieldsFields inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
component, log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
flyToBounds
(org.python.core.PyObject[] pyArgs, String[] keywords) org.python.core.PyDictionary
org.python.core.PyDictionary
org.python.core.PyDictionary
getSize()
double
getZoom()
void
handleEvent
(EventFiredMsg message) A event hook for the delegate.protected void
protected void
void
void
void
panInsideBounds
(org.python.core.PyObject[] pyArgs, String[] keywords) void
void
void
setZoomAround
(org.python.core.PyObject[] pyArgs, String[] keywords) void
void
Methods inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
fireEvent, getScriptCallableMethods
Methods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
isRunning, shutdown, startup
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
MapModelDelegate
-
-
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
-
zoomIn
-
zoomOut
-
setZoom
-
setZoomAround
-
fitBounds
-
fitWorld
-
panTo
-
panBy
-
flyTo
-
flyToBounds
-
panInsideBounds
-
panInside
-
onStartup
protected void onStartup()- Specified by:
onStartup
in classAbstractLifecycle
-
onShutdown
protected void onShutdown()- Specified by:
onShutdown
in classAbstractLifecycle
-
handleEvent
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 classComponentModelDelegate
- Parameters:
message
-EventFiredMsg
An event fired message.
-