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
564 stars 221 forks source link

Add own locations #340

Closed JohnyCarrot closed 1 year ago

JohnyCarrot commented 1 year ago

Hi.

I would like to ask how to add own locations (meaning that if i type "pfkfdsf" instead of not found it will get me my own hard-coded location). Im new in JS and Control.Geocoder.js seems pretty chaotic to me (no offense ofc). What i need to add to this file ?

Thanks

JohnyCarrot commented 1 year ago

https://stackoverflow.com/questions/65552345/how-to-add-predefined-places-markers-to-leaflet-geocoder