After an update from 4.1 to 4.2 version, the SimpleFillSymbol with style 'diagonal-cross' is not working anymore.
Here goes a simple example:
graphicsLayer.graphics.add(new Graphic({
geometry: feature.geometry,
symbol: new SimpleFillSymbol({ style: "diagonal-cross" })
}));
Actually, I noticed that none of the possible styles, besides the default (solid), are working.
I'm using MapView.
In the browser, the following exception is thrown:
Uncaught TypeError: Right-hand side of 'instanceof' is not an object
at b.l._getParentSurface (MapView.js:333)
at b.l._setFillObject (MapView.js:333)
at b.l.setFill (MapView.js:330)
at Object.m.styleShape (MapView.js:381)
at f.render (MapView.js:368)
at d.renderChild (MapView.js:364)
at d.renderChildren (MapView.js:259)
at d.render (MapView.js:255)
at m.renderChild (MapView.js:290)
at m.d.renderChildren (MapView.js:259)
Is this a error or there is another way to use the style property of SimpleFillSymbol in 4.2?
I appreciate the help!
Lucas,
I can confirm that this is an issue in 4.2 and was not in 4.1. Have you called tech support to report this bug?
The esri local support (Brazil) informed that they will open a ticket for the bug. Thanks.
Hi Lucas,
Thank you for bringing this issue to our attention. We created a bug for this issue. Esri Brazil should provide you with a bug number and you can follow up with them on the status of this issue.
Thank you,
-Undral