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

Map Block - Info Window when clicking Map Marker #3233

Open
andeng1106 opened this issue Jul 5, 2024 · 0 comments
Open

Map Block - Info Window when clicking Map Marker #3233

andeng1106 opened this issue Jul 5, 2024 · 0 comments
Labels
[block] Map enhancement New feature or request

Comments

@andeng1106
Copy link

Is your feature request related to a problem? Please describe.

  • Yes. User suggests that Map Marker should be clickable with a popup that appears with link “see in Google Maps”.

Describe the solution you'd like

  • Add a feature to the Map block to allow text to be added to the “Map Marker”. Add a new text area below our “Map Marker” option for the info window text

    • Applicable only if Map Marker is enabled
  • Marker will get clickable

  • Info will appear in the info window text when marker is clicked

  • How to Add an Info Window: https://developers.google.com/maps/documentation/javascript/infowindows#maps_infowindow_simple-javascript

  • Dev note: Text would need to be sanitized in the frontend script so that all html tags should be removed except h1-h6, strong, em, a, br

Describe alternatives you've considered
N/A

@andeng1106 andeng1106 added enhancement New feature or request [block] Map labels Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[block] Map enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant