mapbox / mapbox-gl-leaflet

binding from Mapbox GL JS to the Leaflet API
ISC License
522 stars 154 forks source link

remove unused variable and add code comment #133

Closed jgravois closed 4 years ago

jgravois commented 4 years ago

just a few tweaks to:

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.

OttyLab commented 4 years ago

Thanks LGTM