avoid declaring an offset if its not going to be used
add a code comment for future excavators
if we wanted to be 100% safe we could instantiate a 0,0 point object and pass it through instead of relying on what Leaflet.DomUtil.setTransform() currently does under the hood to compensate for missing/invalid input parameters, but I'm fine with what you've already proposed.
just a few tweaks to:
offset
if its not going to be usedif we wanted to be 100% safe we could instantiate a
0,0
point object and pass it through instead of relying on whatLeaflet.DomUtil.setTransform()
currently does under the hood to compensate for missing/invalid input parameters, but I'm fine with what you've already proposed.