ewoken / Leaflet.MovingMarker

A Leaflet plug-in to create moving marker
MIT License
342 stars 177 forks source link

README corrected factory code + moved note #10

Open ghybs opened 8 years ago

ghybs commented 8 years ago

to match source in MovingMarker.js line 302. Moved note about simple latlngs form just below the factory code, instead of after durations.

Note: about factory, please note that Leaflet convention is to use camelCase for factory, including for parent properties, except L. See for example L.control.layers.

So L.Marker.movingMarker could be converted to L.marker.movingMarker for consistency.