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
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.
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: