How do i disable the higlight of pin when its click?

331
3
01-06-2022 12:28 AM
altair
by
New Contributor III
export const LocationPin = new PictureMarkerSymbol({
        height: 30,
        width: 27,
        color: false // this doesn't work
});
 
I just want to remove the highlight color when the pin is click or active
0 Kudos
3 Replies
Noah-Sager
Esri Regular Contributor

Does clicking the pin enable a popup? If so, I think you can turn the popup highlighting off:

https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html#highlightEnabl...

If not, what does clicking on a pin do? What does active mean?

0 Kudos
altair
by
New Contributor III

@Noah-Sager the pin enable popup, i just want to remove the highlight color when it is clicked

 

0 Kudos
Noah-Sager
Esri Regular Contributor