0

I am trying to retrieve a parseGeoPoint for a certain record like this:

ParseGeoPoint myCoordinates = shopInfo.getParseGeoPoint("coordinates");

but I am getting this error: can't recognize 'getParseGeoPoint(String)'

I checked their documentation and getParseGeoPoint is a valaid method, how can I fix this?

A_Matar
  • 2,210
  • 3
  • 31
  • 53
  • not sure but it might require (Double) rather than string, usually geopoints are in (Double) format – Tasos Sep 12 '15 at 22:14
  • Actually is microdegrees -- have a look here -- http://stackoverflow.com/questions/7960542/the-constructor-geopointdouble-double-is-undefined-whats-wrong-with-that – Tasos Sep 12 '15 at 22:16
  • the string is a key that refers to a double value in the database – A_Matar Sep 12 '15 at 22:16
  • Have a look the above comment, it looks like it takes in microdegress, converting the double to microdegress should work – Tasos Sep 12 '15 at 22:17
  • guys this is for custom geoPoint that is used with Parse.com not the one used with google maps – A_Matar Sep 12 '15 at 22:18

0 Answers0