Options
All
  • Public
  • Public/Protected
  • All
Menu

ThirdPartyAppBase

Hierarchy

  • ThirdPartyAppBase

Implemented by

Index

Properties

getMapViewpointParams

getMapViewpointParams: function

Return an object in this format: return { center: { x: number, // e.g. longitude y: number, // e.g. latitude }, scale: number, // Scale heading: number, // Heading, in degrees. Assumes North is up pitch: pov.pitch // Pitch angle };

Optional handleCustomViewpointIndicatorUpdatedEvent

handleCustomViewpointIndicatorUpdatedEvent: function

Update your map provider with the given custom viewpoint indicator position. This method receives an esri Geometry.

Type declaration

    • (arg: object): void
    • Parameters

      • arg: object
        • geometry: Geometry
        • id: string

      Returns void

handleViewerPositionUpdatedEvent

handleViewerPositionUpdatedEvent: function

This method receives an instance of 'MapViewpointMessage' which can be used to update your map provider with the given viewer's position.

Type declaration

handleViewpointIndicatorUpdatedEvent

handleViewpointIndicatorUpdatedEvent: function

Update your map provider with the given viewpoint indicator position. This method receives an esri Point in the format: { x: longitude, y: latitude }

Type declaration

    • (arg: Point): void
    • Parameters

      • arg: Point

      Returns void

initializeMap

initializeMap: function

Initialize your map and add event listeners in this method

Type declaration

    • (): void
    • Returns void