Options
All
  • Public
  • Public/Protected
  • All
Menu

Describes the arguments for a marker.

Hierarchy

  • MarkerArgs

Index

Properties

Optional angle

angle: number

The angle of the marker.

Optional center

center: Point

The center point of the marker. If a geometry is also supplied the geometry will be preferred.

Optional draggable

draggable: boolean

Whether or not the marker is draggable.

Optional geometry

geometry: Geometry

The geometry of the marker.

Optional graphicsLayerId

graphicsLayerId: string

The ID of the marker graphics layer

Optional iconHeight

iconHeight: number

The height of the marker icon. Required if 'iconUri' is given.

Optional iconUri

iconUri: string

The uri of the icon used to represent the marker. If a symbol json is also supplised the symbol will be preferred.

Optional iconWidth

iconWidth: number

The width of the marker icon. Required if 'iconUri' is given.

id

id: string

The ID of the marker.

Optional symbolJson

symbolJson: Object

The symbol json object to represent the marker. Object syntax can be found at http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/symbol.html.

Optional visible

visible: boolean

Whether or not the marker is visible.