Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot extend L.Control.Geocoder since version 2.0.0 #324

Open
bagage opened this issue Mar 10, 2021 · 0 comments
Open

Cannot extend L.Control.Geocoder since version 2.0.0 #324

bagage opened this issue Mar 10, 2021 · 0 comments

Comments

@bagage
Copy link

bagage commented Mar 10, 2021

Previously we could extend Geocoder using ExtendedGeocoder = L.Control.Geocoder.extend({}) but it seems it doesn't work anymore:

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant