Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. COHi, thanks for the reply but that's exactly my problem, I don't have PoIs, I want to arbitrarily put "items" on the map for users to visit as in with Zombie Run and Spec Trek. Say the user starts the app, it shows their position in the middle of a mapview and 3 or markers around them that they have to visit, I don't know how to place those markers because I don't know how to work out say 10m from the user and then place a marker there. So I kind of need a distanceTo() type function in reverse that lets me specifiy the distance and it creates a marker at that point long/lat.
      singulars
    2. COI don't think there is a method which provides you every GeoPoint or Location in a defined radius but you could calculate those points yourself. Just look into the link I provided. There is a section called "Destination point given distance and bearing from start point". There you have a formular with a given Geo Coordinate (your current location) and you provide the distance and bearing in degrees. With that formular you can calculate specific Geo Coordinates and display them on your map.
      singulars
    3. COAh, thank you very much. I still can't get it working though, neither in my app or on the website if I change the values. The problem with the website is that it doesn't say what value to use for the radius of the earth. So putting in the user's position (I'm in england) and having the radius of earth as the mean radius of earth taken from wikipedia as 6371, a distance of 1km and a bearing of 2 (Don't know if this should just be an int but that's what I've done) it decides a point 1km away is in Peru, which obviously isn't the case :-) Any help would be met with extreme gratitude
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload