Skip to content

Releases: pelias/leaflet-plugin

v1.12.0

14 Jun 11:31
a949b66
Compare
Choose a tag to compare

1.12.0 (2019-06-14)

Bug Fixes

  • demo: Merge pull request #179 from pelias/fix_demo (a949b66)

Features

v1.11.0

01 May 19:34
f915387
Compare
Choose a tag to compare

1.11.0 (2019-05-01)

Features

  • docs: Update package name everywhere (3b22215)
  • readme: Update badges (b90a5e4)

v1.10.0

01 May 18:05
d9e0e38
Compare
Choose a tag to compare

1.10.0 (2019-05-01)

Features

  • package: First release as pelias-leaflet-plugin (d9e0e38)

v1.9.4 (September 5, 2017)

05 Sep 19:48
Compare
Choose a tag to compare
  • Minor under-the-hood tweaks to improve compatibility upstream in mapzen.js.

v1.9.3 (August 28, 2017)

28 Aug 19:45
Compare
Choose a tag to compare
  • Bug fix: Fixed an exception when attempting to remove attribution when no attribution object existed. Thanks @JoaoMosmann for your PR

v1.9.2 (April 25, 2017)

25 Apr 21:16
Compare
Choose a tag to compare
  • Real small tweak: higher-resolution images now show up on devices that support it, but don't quite have the resolution of Apple Retina devices.
  • Bug fix: Fixed a reference to the @mapbox/corslite library under the hood. A wrong reference broke the earlier v1.9.1 build.

v1.9.1

25 Apr 21:00
Compare
Choose a tag to compare

(broken build; deprecated.)

v1.9.0 (April 5, 2017)

05 Apr 23:12
Compare
Choose a tag to compare
  • It is now possible to set the return value of require() or import to a variable. You can now do this:
var MyGeocoder = require('leaflet-geocoder-mapzen')
var geocoder = new MyGeocoder()

This sets the require('leaflet-geocoder-mapzen') to MyGeocoder, which you can then instantiate with the new keyword at a later time. Previously, setting the return value of the require() or import did nothing. In order not to break existing functionality, the side-effect of attaching to L.Control.Geocoder still happens automatically when the module is imported. #154

  • If you want to prevent the side-effect of attaching to L, you can import the core module directly:
// Requiring only the base container (no L namespace)
var Geocoder = require('leaflet-geocoder-mapzen/src/core')
// or in ES2015
import Geocoder from 'leaflet-geocoder-mapzen/src/core'
// ...
const geocoder = new Geocoder()

const nope = new L.Control.Geocoder() // will be undefined
  • Under the hood, the plugin's implementation of AJAX requests have been swapped out in favor of Mapbox’s corslite module.

v1.8.2 (April 3, 2017)

03 Apr 20:03
Compare
Choose a tag to compare
  • Small tweak in how we call the /place endpoint on Mapzen Search: we will no longer make these requests when a feature does not have a gid property.
  • Fixed a bug in a rare situation where the map would suddenly stop responding to a scroll wheel interaction.

v1.8.1 (March 16, 2017)

16 Mar 22:32
Compare
Choose a tag to compare
  • Fix a bug where the input would display "undefined" instead of the actual text when navigating through a result dropdown with arrow keys in IE8.