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

A simple geocoder form to locate places. Easily extended to multiple data providers.

Results 39 leaflet-control-geocoder issues
Sort by recently updated
recently updated
newest added

Hi, i need to change default map-zoom level of search result. I try with this code but doesn't work : .on('markgeocode', function(e) { map.setZoomAround(e.geocode.bbox.getCenter(), 10); }) Can someone help me?

hi, Like asked in stack overflow [here](https://stackoverflow.com/questions/77957955/leaflet-js-changing-the-default-zoom-of-the-leaflet-control-geocoder-map?noredirect=1#comment137435633_77957955) I would like to change the default zoom setting of the map. The default leaflet zoom setting for `leaflet` is as below. ```...

Hi, I implemented this plugin with this options in my ionic project: import Geocoder from 'leaflet-control-geocoder'; let providerNomitatim = new Geocoder.nominatim({ geocodingQueryParams: { viewbox: this._box, bounded: '1' } }); this.geoControl...

by default -4 is going in api call for reverse. in code why log is used to calculate scale

question

* Migrate to yarn: Simplifies selective dependency version upgrades using https://classic.yarnpkg.com/lang/en/docs/cli/upgrade-interactive/ * Migrate to vitest * Update to prettier 3.0 * update devDependencies

The Photon geocoder returns poor, jarring results unless the center point and zoom of the map are included as query parameters. Now these data are included. They are passed via...

When trying to use the plugin with my own instance of nominatim (behind a caddy reverse proxy), which works via browser address bar and Postman, I get the following errors:...

Hi @perliedman, the demo hosted at https://www.liedman.net/leaflet-control-geocoder/ does not show the mapbox.streets tile layer. The HTTP requests error with status code 403. Can you renew the API key? Shall we...

bug

```diff var geocoder = L.Control.geocoder({ defaultMarkGeocode: false }) .on('markgeocode', function(e) { var bbox = e.geocode.bbox; var poly = L.polygon([ bbox.getSouthEast(), bbox.getNorthEast(), bbox.getNorthWest(), bbox.getSouthWest() ]).addTo(map); map.fitBounds(poly.getBounds()); }) .addTo(map); ``` I used...

question

do you know what caused this error in the browser following a request like https://maps.wikimedia.org/osm-intl/15/16593/11272.png? Error : strict-origin-when-cross-origin my dependencies": { "leaflet": "^1.5.1", "leaflet-control-geocoder": "^1.8.2", } my code ```js import...