Skip to content

How to add Autocomplete with your own input field #22

@etwordpress01

Description

@etwordpress01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions