Leaflet.PolylineDecorator icon indicating copy to clipboard operation
Leaflet.PolylineDecorator copied to clipboard

Corrupt character in leaflet.polylineDecorator.js

Open sheffieldnikki opened this issue 10 years ago • 0 comments

In the leaflet-0.7.2 branch, the main leaflet.polylineDecorator.js file has an extra (UTF?) character that isn't visible when browsing the source in github, but if you save out the raw source and try to execute the javascript, it fails with an error about the extra character:

L.rotatedMarker = function (pos, options) {
    return new L.RotatedMarker(pos, options);
};/**
  ^^^ extra characters after the semi-colon and before the comment
* Defines several classes of symbol factories,
* to be used with L.PolylineDecorator

sheffieldnikki avatar May 11 '14 18:05 sheffieldnikki