Hi, noob question/problem here...
1.Ive created a table on excel and converted it to json, then I imported it into the collection.
However the datatype for location [lat,long] is set to string on the collection how do I change it to geopoint?Do I need to reimport?If so ,how do I specify the datatype on excel so that it imports correctly into json?
- Im trying to create a Rank.bydistance (google maps API) function so when I click on a button the nearest 3 .positions of a specific type (specified column in collection) are shown on the map.(ive prepared the geopoints and types for those location along with the rest of the info).
Anyone that could show me an example of how that could be written ,im stuck..
Thanks!