leaflet-control-geocoder icon indicating copy to clipboard operation
leaflet-control-geocoder copied to clipboard

Demo: missing Control.Geocoder.js

Open KristjanESPERANTO opened this issue 5 years ago • 3 comments

In the file demo/index.html the file ../dist/Control.Geocoder.js is linked, but in the dist directory is no Control.Geocoder.js.

KristjanESPERANTO avatar Nov 28 '20 19:11 KristjanESPERANTO

The file has to be built first using npm run build

simon04 avatar Nov 28 '20 19:11 simon04

Oh, I assumed it would have to be included at least in the release archives. So this issue could be closed.

BTW: Thank you for the new release :slightly_smiling_face:

KristjanESPERANTO avatar Nov 28 '20 20:11 KristjanESPERANTO

Or would it be an option to change the relative links (css and js) in the demo to unpkg links?

<script src="../dist/Control.Geocoder.js"></script>

=>

<script src="https://unpkg.com/leaflet-control-geocoder/dist/Control.Geocoder.js"></script>

KristjanESPERANTO avatar Nov 28 '20 20:11 KristjanESPERANTO