Hi all,
API Version 4.18
My current situation for this code is no matter what i do following the documentation, the inside of my area polygon is always blue and i need it to be transparent. Also, the polygon needs to be dashed and the code builds full lines. Basically, the whole style does not change no matter what i write.
My code:
const sketchViewModel = new SketchViewModel({
view: mapView,
layer: layers.search,
updateOnGraphicClick: true,
defaultUpdateOptions: {
enableRotation: false,
toggleToolOnClick: false
},
polygonSymbol: {
type: "simple-fill",
color: [0, 0, 0, 0.2],
outline: {
color: [255, 255, 255],
width: 2
}
}
})What i get:

I want something like this:
