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

Add AddressSearch and ReverseGeocoder to 'SINGLE' mode of meldemichel #117

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

dopenguin
Copy link
Member

Summary

It was requested that a feature can be reverse geocoded and the address search can be used programmatically in mode SINGLE.
An addition to the API.md was redundant, as the programmatic usage has already been described in the README of @polar/plugin-address-search.

Instructions for local reproduction and review

  • Add the mapInstance to the window object in packages/clients/meldemichel/example/single.html.
  • Use the following code snippet to trigger the search.
window.$mapInstance.$store.dispatch('plugin/addressSearch/search', {
  input: 'Spitalerstraße 12',
  autoselect: 'first'
})

A pin should be set to Spitalerstraße 12 and the following fields should have a value

  • vendor_maps_address_str
  • vendor_maps_address_hnr
  • vendor_maps_address_plz
  • vendor_maps_distance_to

@dopenguin dopenguin added the enhancement New feature or request label Mar 4, 2024
@dopenguin dopenguin self-assigned this Mar 4, 2024
@dopenguin dopenguin requested a review from warm-coolguy as a code owner March 4, 2024 18:26
Copy link
Member

@warm-coolguy warm-coolguy left a comment

Choose a reason for hiding this comment

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

🚀 @dopenguin

@dopenguin dopenguin merged commit 868fa97 into main Mar 5, 2024
1 check passed
@dopenguin dopenguin deleted the feature/meldemichel-address-search-single branch March 5, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants