AnsweredAssumed Answered

highlight options within MapView

Question asked by CityOfGreenvilleSCGIS on Oct 3, 2018
Latest reply on Oct 4, 2018 by kenbuja

I'm trying to turn on the highlight settings for layers that are clicked on and came across the highlightOptions setting within the MapView but I can't get it to work.

 

I added the following but nothing happens:

var view = new MapView({
               map: webmap,
               rotation: 340,
               highlightOptions: {
                    color: [255, 255, 0, 1],
                    haloOpacity: 0.9,
                    fillOpacity: 0.2
               },

 

What am I missing?

Scott

Outcomes