Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@maplibre/maplibre-gl-geocoder
Advanced tools
A geocoder control for maplibre-gl-js.
npm install --save @maplibre/maplibre-gl-geocoder
import MaplibreGeocoder from '@maplibre/maplibre-gl-geocoder';
import '@maplibre/maplibre-gl-geocoder/dist/maplibre-gl-geocoder.css';
...
// Functions should return Carmen GeoJSON https://github.com/mapbox/carmen/blob/master/carmen-geojson.md
// View config definitions in our [documentation](https://github.com/maplibre/maplibre-gl-geocoder/blob/master/API.md#setgeocoderapi)
var Geo = {
forwardGeocode: async (config) => { /* definition here */ },
reverseGeocode: async (config) => { /* definition here */ }, // optional reverse geocoding API
getSuggestions: async (config) => { /* definition here */ } // optional suggestion API
};
// Pass in or define a geocoding API that matches the above
const geocoder = new MaplibreGeocoder(Geo, { mapboxgl: maplibregl });
It is possible to use the plugin without it being placed as a control on a maplibre-gl map.
See API.md for complete reference.
See CONTRIBUTING.md.
1.4.0
FAQs
A geocoder control for Maplibre GL JS
The npm package @maplibre/maplibre-gl-geocoder receives a total of 17,203 weekly downloads. As such, @maplibre/maplibre-gl-geocoder popularity was classified as popular.
We found that @maplibre/maplibre-gl-geocoder demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.