Class MapModelDelegate
java.lang.Object
com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycle
com.inductiveautomation.perspective.gateway.api.ComponentModelDelegate
com.inductiveautomation.perspective.gateway.components.MapModelDelegate
- 
Field SummaryFieldsFields inherited from class com.inductiveautomation.perspective.gateway.api.ComponentModelDelegatecomponent, log
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.ComponentModelDelegatefireEvent, getScriptCallableMethodsMethods inherited from class com.inductiveautomation.ignition.common.lifecycle.AbstractLifecycleisRunning, shutdown, startup
- 
Field Details- 
ID- See Also:
 
 
- 
- 
Constructor Details- 
MapModelDelegate
 
- 
- 
Method Details- 
getZoompublic double getZoom()
- 
getSizepublic org.python.core.PyDictionary getSize()
- 
getCenterpublic org.python.core.PyDictionary getCenter()
- 
getBoundspublic org.python.core.PyDictionary getBounds()
- 
getBoundsAsBBoxString
- 
zoomIn
- 
zoomOut
- 
setZoom
- 
setZoomAround
- 
fitBounds
- 
fitWorld
- 
panTo
- 
panBy
- 
flyTo
- 
flyToBounds
- 
panInsideBounds
- 
panInside
- 
onStartupprotected void onStartup()- Specified by:
- onStartupin class- AbstractLifecycle
 
- 
onShutdownprotected void onShutdown()- Specified by:
- onShutdownin class- AbstractLifecycle
 
- 
handleEventDescription 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 class- ComponentModelDelegate
- Parameters:
- message-- EventFiredMsgAn event fired message.
 
 
-