nypl-spacetime / Leaflet.GeotagPhoto

Leaflet plugin for photo geotagging
http://spacetime.nypl.org/Leaflet.GeotagPhoto/examples/camera.html
MIT License
70 stars 22 forks source link

Missing icons #20

Open jumpjack opened 1 year ago

jumpjack commented 1 year ago

Including https://unpkg.com/leaflet-geotag-photo@0.5.1/dist/Leaflet.GeotagPhoto.css and https://unpkg.com/leaflet-geotag-photo@0.5.1/dist/Leaflet.GeotagPhoto.min.js as stated in documentation is not enough; you must also download icon images, but they are not available online at https://unpkg.com/browse/leaflet-geotag-photo@0.6.2/dist/ :

bertspaan commented 1 year ago

This works: https://spacetime.nypl.org/Leaflet.GeotagPhoto/images/camera-icon.svg. And they're here: https://unpkg.com/browse/leaflet-geotag-photo@0.6.2/images/.

jumpjack commented 1 year ago

Interesting this link does not work:

https://unpkg.com/browse/leaflet-geotag-photo@0.6.2

This one works:

https://unpkg.com/browse/leaflet-geotag-photo@0.6.2/

But how can I get a local page pointing at online images rather than local?

bertspaan commented 1 year ago

It seems that the URLs in the minified JS are correct.

All of these URLs seem to work.

You could copy the JS files to your own web server, and copy the SVGs as well, and update the relative SVG URLs in the source (if needed).