Picture Marker Symbol (esriPMS)

Picture marker symbols can be used to symbolize point geometries.

Referenced by: GeoRSS Layer (GeoRSS), symbol

Properties

Property Details
angle Numeric value that defines the number of degrees ranging from 0-360, that a marker symbol is rotated. The rotation is from East in a counter-clockwise direction where East is the 0° axis.
contentType String value indicating the content type for the image.
height Numeric value used if needing to resize the symbol. Specify a value in points. If images are to be displayed in their original size, leave this blank.
imageData String value indicating the base64 encoded data.
type Specifies the type of symbol used.
Valid value of this property esriPMS
url String value indicating the URL of the image. The URL should be relative if working with static layers. A full URL should be used for map service dynamic layers. A relative URL can be dereferenced by accessing the map layer image resource or the feature layer image resource.
width Numeric value used if needing to resize the symbol. Specify a value in points. If images are to be displayed in their original size, leave this blank.
xoffset Numeric value indicating the offset on the x-axis in points.
yoffset Numeric value indicating the offset on the y-axis in points.

Picture Marker Symbol Example

{
  "type": "esriPMS",
  "url": "471E7E31",
  "imageData": "......",
  "contentType": "image/png",
  "width": 19.5,
  "height": 19.5,
  "angle": 0,
  "xoffset": 0,
  "yoffset": 0
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.