I am learning leaflet, using esri featurelayers and basemaps. So far, so good, until now: I cannot get leaflet to change the fillopacity of my featurelayer. It will change color just fine, and I have succeeded at turning the outlines on or off, or changing the opacity and line width of the outlines. But the opacity of the polygon fill will not be altered from the default. Here is the relevant bit of the script:
Solved! Go to Solution.
argh ... fillopacity needs to be properly capitalized as fillOpacity:
argh ... fillopacity needs to be properly capitalized as fillOpacity: