You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the plugin is extending L.Marker implicitly and this is not a very modular approach. That may cause ambiguity on importing/exporting ES6 modules.
Would be better to be able to import {RotatedMarker} from 'leaflet-rotatedmarker' explicitly.
A better idea might be to add a separate L.RotatedMarker plugin which extends L.Marker.
with this way, that would also be possible to add some typed library support as well (e.g. TypeScript d.ts file).
The text was updated successfully, but these errors were encountered:
Right now, the plugin is extending L.Marker implicitly and this is not a very modular approach. That may cause ambiguity on importing/exporting ES6 modules.
Would be better to be able to
import {RotatedMarker} from 'leaflet-rotatedmarker'
explicitly.A better idea might be to add a separate L.RotatedMarker plugin which extends L.Marker.
with this way, that would also be possible to add some typed library support as well (e.g. TypeScript d.ts file).
The text was updated successfully, but these errors were encountered: