You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

leaflet-control-geocoder

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaflet-control-geocoder - npm Package Versions

2345

3.2.0

Diff
s
simon04
published 3.2.0 •

Changelog

Source

3.2.0 (2025-05-18)

This version provides compatibility with Leaflet 2.0.0-alpha.

  • photon: Substantially improve Photon results with map-derived parameters. (#339) (66e361e), closes #339
  • photon: photon.komoot.io (0a543d3), closes #356
  • opencage: Add raw properties to result #358 (#359) (8943dc4), closes #358 #359
  • Add interface GeocodingContext (d697fa0 4eb5e16)), closes #339
  • refactoring for Leaflet 2.0: Remove use of factory methods (9ccd125)
  • refactoring for Leaflet 2.0: Replace Util.extend with ES6 Object.assign (0395890)
  • refactoring: Drop type casts related to L.DomUtil.create (0ea1413)
  • refactoring: Use Array.map and Array.forEach (44628b1)
  • refactoring: Use Element.classList (02f47ef)
  • refactoring: Use KeyboardEvent.key (e3efe9e)
  • testing: nominatim htmTemplate (e92025d), closes #357
  • testing: Add bing.spec.ts (aa94575)
  • testing: Add mapquest.spec.ts (d60a95b)
  • testing: Add opencage.spec.ts (ee9402f)
  • README: add BAN Geocoder provider (France address API) (#360) (6d006cb), closes #360
  • package: specify leaflet 2.0.0 compatibility (d8cfcfa)
  • package: update devDependencies (bdb9435)
s
simon04
published 3.1.0 •

Changelog

Source

3.1.0 (2024-12-21)

  • Implement Azure Maps Geocoder (#351) (bf04a88), closes #351
  • azure: add to README (8e1da50)
  • azure: add types, add unit test (d1183f4)
  • azure: update to leaflet-control-geocoder 3.0.0 (0951831)
  • build: fix tsc --target ES2020 (51ed3ea)
  • CHANGELOG: clarify "Migrate from callbacks to async-await" (6e869c8)
  • demo: modernize code (756dc27)
  • GitHub Actions: Node.js 22 (9ba93ff)
  • nominatim: use shorthand property for htmlTemplate (04031ac)
  • tsc: --skipLibCheck (4edf909)
s
simon04
published 3.0.1 •

Changelog

Source

<small>3.0.1 (2024-12-17)</small>

  • build: fix Control.Geocoder.css (9bfaa0f), closes #355
  • demo: fix geocoder.reverse usage (503e6fc)
s
simon04
published 3.0.0 •

Changelog

Source

3.0.0 (2024-12-15)

  • GitHub Actions: Node.js 20.x (89bb618)
  • Migrate from callbacks to async-await (6f7ccf5)
  • Migrate from XMLHttpRequest to fetch API (fe751be)
  • Migrate to URLSearchParams (fa13fcb)
  • package: Migrate build to vite (0e6ed14)
  • package: build types using tsc (2211a73)
  • Add response types to geocoders (2232046)
  • npm i --lockfile-version 3 --frozen-lockfile (471932c)
  • Run Prettier on codebase (fbcdad6)
  • Use a more precise input type (#331) (44cd093), closes #331
  • bing: deprecated notice (ce88eab)
  • bing: fix serviceUrl (053e5a2)
  • bing: replace jsonp with AJAX (09f6a4e)
  • ESLint: prefer-arrow-callback (b41a7fb)
  • build: remove bower.json file (6259608)
  • package: npm audit fix (5032da9)
  • package: update devDependencies (dee11f3)
  • tests: Migrate unit tests to Vitest (d997740)
  • fix: bingMaps uri (#342) (be056ab), closes #342
Migrate from callbacks to Promise

-geocoder.geocode(query, callback);
+geocoder.geocode(query).then(callback);

-geocoder.reverse(latlng, scale, callback);
+geocoder.reverse(latlng, scale).then(callback);

Migrate from callbacks to async-await

-geocoder.geocode(query, callback);
+const results = await geocoder.geocode(query);

-geocoder.reverse(latlng, scale, callback);
+const results = await geocoder.reverse(latlng, scale);
s
simon04
published 2.4.0 •

Changelog

Source

2.4.0 (2022-02-06)

  • export { Geocoder, geocoder, geocoders } (ec17333)
s
simon04
published 2.3.0 •

Changelog

Source

2.3.0 (2021-05-25)

  • Specify TypeScript declaration file (1183518)
s
simon04
published 2.2.0 •

Changelog

Source

2.2.0 (2021-03-08)

  • HERE: adding maxResults option (#317) (3847008), closes #317
  • TypeScript: add event handler types (2ffacc3)
s
simon04
published 2.1.0 •

Changelog

Source

2.1.0 (2020-12-10)

s
simon04
published 2.0.1 •

Changelog

Source

2.0.1 (2020-11-30)

s
simon04
published 2.0.0 •

Changelog

Source

2.0.0 (2020-11-28)

  • Migrate to TypeScript
  • Generate API documentation using TypeDoc (756ae93)
  • Harmonize options constructor for all geocoders (e4659b5)
  • Use geocodingQueryParams in all geocoders (84d764a)
  • Use reverseQueryParams in all geocoders (9240331)
  • Replace PNG and GIF files with SVG URIs (#298) (1ec9ab5), closes #298
  • photon: update to photon.komoot.io (e4b3082)
  • mapbox: add location properties to reverse geocode (#286) (3398c8c), closes #286
  • demos: add unpkg.com demo (2418679)
  • demos: add esbuild demo (2e0553f)
  • demos: upgrade to webpack 5 (b600cad)
  • tests: Migrate unit tests to Jest (5b64c34)
  • package: Enable compressed-size-action for PRs (fdf6df0), closes #283
  • package: Enable GitHub Actions (c98745e)
  • package: Migrate build to microbundle (fc0eff9)

BREAKING CHANGE

  • All geocoders accept a single options object as constructor parameter. The options objects extends the interface GeocoderOptions. The apiKey string constructors of some geocoders have been removed.
  • reverse now returns bbox in field called bbox (previously bounds)
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.