esri-leaflet-vector
esri-leaflet-vector copied to clipboard
Attribution for L.esri.Vector.vectorTileLayer
Describe the bug
In #133/#135 we fixed the attribution for L.esri.Vector.vectorBasemapLayer(..) when an ID is passed. For example:
L.esri.Vector.vectorBasemapLayer("3e1a00aeae81496587988075fe529f71", ...);
We should have also fixed the case for L.esri.Vector.vectorTileLayer(..) when an ID is passed. For example:
L.esri.Vector.vectorTileLayer("3e1a00aeae81496587988075fe529f71", ...);
See the 5th example here:

https://codepen.io/gavinr/pen/ExEOdwd?editors=0010
Reproduction
https://codepen.io/gavinr/pen/ExEOdwd?editors=0010
- Expected: the 5th example should contain the "Powered by Esri" attribution.
- Actual: the 5th example does not contain the "Powered by Esri" attribution.
Logs
No response
System Info
Esri Leaflet Vector version: `v3.1.4`.
Additional Information
Originally logged in #142 - thank you @ItaiEinhorn.