perliedman / leaflet-control-geocoder

A simple geocoder form to locate places. Easily extended to multiple data providers.
http://www.liedman.net/leaflet-control-geocoder/
BSD 2-Clause "Simplified" License
560 stars 220 forks source link

Demo: missing Control.Geocoder.js #310

Open KristjanESPERANTO opened 3 years ago

KristjanESPERANTO commented 3 years ago

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

simon04 commented 3 years ago

The file has to be built first using npm run build

KristjanESPERANTO commented 3 years ago

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 commented 3 years ago

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>