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

Multi use #4

Open
ghost opened this issue Nov 15, 2014 · 1 comment
Open

Multi use #4

ghost opened this issue Nov 15, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 15, 2014

Hey,
I have two questions.

First:
I have already written the HTML Code for my new webpage. Now I'd like to include the photon search into my code. Now to my question.
Is it possible to include the search into the html code and not to the Leafet Controls?

For example in jquery
var photonsearch = //definition
$('#searchDiv').append(photonsearch);

And then I come to my second question.
Is it also possible to include the search several times on the page.
I'd like to write a routing algorithm where I need some input fields.

I hope anyone could help me.

@christophlingg
Copy link
Contributor

this is a leaflet plugin, it is meant to extend the map framework with a search box. So you cannot use this plugin without a map. You need to program something on your own - you might reuse the some code tough.

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