-
Notifications
You must be signed in to change notification settings - Fork 146
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
Is there a possibility to use this without a map? #243
Comments
Yes. It's literally the example. Forgive me, but I'm not sure what you're trying to do that is any different to what you see in that link. You just import the script using the CDN link as in the example, then bind a new geocoder instance to a div of your choice and handle the event for the result in whatever way you want. |
@thopiddock I meant with the use of the VueMapbox plugin, so that I can use the components from this plugins. I am able to read and understand hte given example, i merely was looking for another way to handle the event handlers in a more Vue manner. |
Aha! That makes sense: |
@Bowis are you able to use geocoder without the map? |
yes, I was |
MapBox has the example at: https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-geocoder-no-map/ where the input is used without a map, is this in any way possible with this plugin?
The text was updated successfully, but these errors were encountered: