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

How to add Autocomplete with your own input field #22

Open
etwordpress01 opened this issue Aug 10, 2018 · 0 comments
Open

How to add Autocomplete with your own input field #22

etwordpress01 opened this issue Aug 10, 2018 · 0 comments

Comments

@etwordpress01
Copy link

Hi,

I used leaflet library with photon and want to initialize leaflet photon on my custom field but i didn't find solution/example for it. Then i edit leaflet.photon.js to initialize on my custom field and hide map.

screenshot_2

screenshot_3

I get it done by edit your leaflet.photon.js file. I want to allow to use autocomplete without map. I think it was added in commit but didn't found how to use it

107a41c

That is the only one library which can be use for autocomplete geocoding in leaflet. If you can write a an example for library that how users can use it then it would be batter.

Library should allow to initialize with or without map. More things can be added like we can't assign input name, input classes via photonControlOptions and also on select option insert selected value in input.

We will be thankful if you can guide me how to use or add options which are missing.

Thanks

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