Open bagage opened 3 years ago
Previously we could extend Geocoder using ExtendedGeocoder = L.Control.Geocoder.extend({}) but it seems it doesn't work anymore:
ExtendedGeocoder = L.Control.Geocoder.extend({})
Uncaught TypeError: L.Control.Geocoder.extend is not a function
Here is a demo of the issue (it works in 1.13.0, it doesn't in 2.X.X).
Am I doing something wrong? Nonetheless thanks for the great library!
Previously we could extend Geocoder using
ExtendedGeocoder = L.Control.Geocoder.extend({})
but it seems it doesn't work anymore:Here is a demo of the issue (it works in 1.13.0, it doesn't in 2.X.X).
Am I doing something wrong? Nonetheless thanks for the great library!