I need to map an Appery DB geolocation field to a local storage array.
The geolocation field is an array of two values and is just one of the fields contained by the DB records.
I need to map the lat/lng values of all of the returned records into a single array of google position objects:
[{lat:xxx1,lng:yyy1}, {lat:xxx2,lng:yyy2}, ...]
I'm really confused about how to draw the mapping...