firebase / geofire-java

GeoFire for Java - Realtime location queries with Firebase
MIT License
670 stars 271 forks source link

how to make marker clickable? (Question) #80

Closed aryayudha closed 6 years ago

aryayudha commented 7 years ago

Hi, i want to ask how to make marker from geofire maps clickable to reference some data from firebase realtime database ? (e.g i want see detail data from marker "A". Detail data are stored in firebase database). Thanks

brezinajn commented 7 years ago

You can use same key for your geofire and entity data (you should use same key :)) and save it to marker.tag. Then on marker click fetch entity data. Or you can store your geofire data with your entity data. Takes some manual work, but works well.

vanniktech commented 6 years ago

This was answered and can be closed, right?