Open jumpjack opened 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/.
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?
It seems that the URLs in the minified JS are correct.
../images/crosshair.svg
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).
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/ :