-
Notifications
You must be signed in to change notification settings - Fork 346
Description
My current project is based on Polymer/Firebase/Maps API.
I have to display to the user the number of records within the area he is viewing, using clustering technique.
All is fine with GeoFire and thousand of records (require some tweaks with the Polymer data binding system).
The user can filter records by type using the on/off switch buttons:
If GeoFire lets me add custom data, then I can achieve this in a simple way without server side code.
For my use case, and for performance reasons, the added data must be relatively tiny.
For exemple:
"2016-001": {
"g" : "u07t4v857n",
"l" : [ 47.31595982215497, 5.042859856945543 ],
"t" : "a"
}
"t" stands for "type".
I understand that adding custom data has an impact on performances.
It might be up to the user of GeoFire to decide the best compromise, depending on the context, between adding data and performance.
I'll link a PR to this issue.