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

Added custom container support from @tpaksu branch and control positioning support from @lucadegasperi branch. #5

Closed
wants to merge 2 commits into from

Conversation

tpaksu
Copy link

@tpaksu tpaksu commented Mar 27, 2019

With this pull, the plugin will have the option to place the input in another container element in the page or a different position on the owner map.

Usage:

<MglGeocoderControl
            :accessToken="accessToken"
            @results="handleSearch"
            container="geocoder_input_container"
            position="top-left"
        />

container: the id of the container element to put the input in.
position: the position within the map boundaries,

Note: Can't be used together with container option. Container will override position.

lucadegasperi and others added 2 commits March 20, 2019 21:51
Currently this control does not allow to set its position inside the map frame.
This simple change allows for this behavior.
Copy link

@jreviews jreviews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested the custom container feature and it works well. It's a nice addition too. Any chance of getting the PR into master?

dd pushed a commit to dd/vue-mapbox-geocoder that referenced this pull request May 20, 2020
woshikie added a commit to woshikie/vue-mapbox-geocoder that referenced this pull request Oct 22, 2020
* chore: add position prop

* fix: No mapboxgl detected in options. Map markers are disabled. Please set options.mapboxgl.

* update package

* fix: mapboxGl as prop not mapboxgl

* chore: update build

* chore: update package.json

* chore: update mapboxgl prop

* chore: update multi-query string

* chore: update build to support multiquery

* fix: typo error

* chore: update build

* feat: add marker as props

* fix: update build

* fix: update debouce issue caused by vue component

* fix: update build

* chore: remove the `_updateInput` method causing debounce issue

* chore: update build

* fix query method

* update passed props to MapboxGeocoder

* fix: remove dist build

* feat(bot): setup dependabot 🤖

* feat(bot): setup semantic pr 🤖

* chore: minor housekeeping 🧹

* feat(lint): add commitlint & husky 🏗

* chore(housekeeping): gitignore, prettier & babel configs 🥳

* refactor: remove public directory 📂

* feat(ci): add github action 🏗

* build(rollup): add rollup configs 👨‍🔧

* chore: add LICENSE 📓

* refactor(source): refactor GeoCoderCtrl & remove vue config file 💅

* docs: update README 🥳

* feat: add jsconfig for better intellisense 🔌

* refactor: add package.json & lockfile 🚀

* chore: update lockfile to include ship.js

* chore: release v0.1.0 (soal#5)

* chore(deps): update lockfile with correct scope

* chore: release v0.1.1 (soal#7)

* chore(deps-dev): bump rollup from 2.10.4 to 2.10.5

Bumps [rollup](https://github.com/rollup/rollup) from 2.10.4 to 2.10.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v2.10.4...v2.10.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix: stop squishing results after updating input

- ref: soal#14

* fix: typo issue

* chore: update docs

- ref soal#10

* fix: no mapboxgl detected issue

- ref soal#8

* feat: add geocoder based on custom container_id

* docs: update example

* feat: add badges

* chore: update alignment

* chore: release v0.2.0 (soal#15)

* Add `prepare` script

It is needed for the `npm i git+https://github.com/dd/vue-mapbox-geocoder.git` command to build the package

Co-authored-by: Vinayak Kulkarni <inbox.vinayak@gmail.com>
Co-authored-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
Co-authored-by: dd <dd@manin.space>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alexander Kaidalov <twildor@gmail.com>
@tpaksu
Copy link
Author

tpaksu commented Sep 14, 2021

Closing this as it's been open for 2 years, and I don't want my PR list crowded :)

@tpaksu tpaksu closed this Sep 14, 2021
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

Successfully merging this pull request may close these issues.

3 participants