AnsweredAssumed Answered

SimpleFillSymbol with style different of 'solid' is not working

Question asked by lserqueira on Jan 3, 2017
Latest reply on Jan 4, 2017 by ubatsukh-esristaff

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: 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!