commenthol / leaflet-rastercoords

Leaflet plugin for plain image map projection to display large images using tiles generated with gdal2tiles-leaflet
https://commenthol.github.io/leaflet-rastercoords
MIT License
120 stars 23 forks source link

Syntax error in the Readme #1

Closed thib-rdr closed 7 years ago

thib-rdr commented 7 years ago

Hey,

Quick mistake in the Readme :

map.setView(rc.unproject([img[0], img[1]), 2)

A ] is missing

map.setView(rc.unproject([img[0], img[1]]), 2)

Thanks !

commenthol commented 7 years ago

Thanks for rising the issue.