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 TypeMethodDescriptionvoidvoidvoidvoidflyToBounds(org.python.core.PyObject[] pyArgs, String[] keywords) org.python.core.PyDictionaryorg.python.core.PyDictionaryorg.python.core.PyDictionarygetSize()doublegetZoom()voidhandleEvent(EventFiredMsg message) A event hook for the delegate.protected voidprotected voidvoidvoidvoidpanInsideBounds(org.python.core.PyObject[] pyArgs, String[] keywords) voidvoidvoidsetZoomAround(org.python.core.PyObject[] pyArgs, String[] keywords) voidvoidMethods inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
fireEvent, getScriptCallableMethodsMethods 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:
onStartupin classAbstractLifecycle
-
onShutdown
protected void onShutdown()- Specified by:
onShutdownin classAbstractLifecycle
-
handleEvent
Description copied from class:ComponentModelDelegateA 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:
handleEventin classComponentModelDelegate- Parameters:
message-EventFiredMsgAn event fired message.
-