laptop and a wrench

Bug

Applying the 'toJSON()-Method' on 'SimpleMarkerSymbols' using the 'STYLE_X' or 'STYLE_CROSS' style property results in an object missing the color property.

Last Published: January 9, 2019 ArcGIS API for JavaScript
Bug ID Number BUG-000118564
SubmittedDecember 4, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.26
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

The color property does not apply to marker symbols defined with the 'STYLE_X' or 'STYLE_CROSS' style property. Since these styles are wholly comprised of outlines, the color of symbols must be set with those styles via the 'setOutline()' method.

Steps to Reproduce

Bug ID: BUG-000118564

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options