kasugaijin / baja-pet-rescue

Kasugaijin's open-source Ruby on Rails production app that enables dog rescue organisation staff in Mexico to post dogs and receive applications for adoption from users in USA and Canada..
27 stars 9 forks source link

[WIP] Make google map pins clickable and show dog info on the map #166

Closed egemen-dev closed 1 year ago

egemen-dev commented 1 year ago

Changes:

This PR is for this issue: https://github.com/kasugaijin/baja-pet-rescue/issues/158 and https://github.com/kasugaijin/baja-pet-rescue/issues/144

Used @google_map_metadata that is returned from the controller and added to HTML by using data attributes (dog name and breed). Then used that data to make google map pin's clickable and show info about the dog.

Screenshots:

Screen Shot 2023-06-26 at 14 09 30

Screenshot 2023-06-26 at 13-58-41 BajaPetRescue

kasugaijin commented 1 year ago

Hey is this still WIP? I think it looks ready, but just checking as the title is still WIP.

kasugaijin commented 1 year ago

Thank you @egemen-dev that was a great job done. I will deploy to production. Check production soon.