Forum Post: RE: OE Mobile and Cartography object

  • Thread starter Thread starter Phillip Molly Malone
  • Start date Start date
Status
Not open for further replies.
P

Phillip Molly Malone

Guest
So, I tried to think about the circular concept of max distance from a point. If it had to be 100% accurate (or at least more circular, you might be able to do that like this (unless someone has a better idea). So if you find all the items that are in the range from the top right corner of the map area (worked out by Lat - wanted distance and lng + wanted distance) to the bottom left point (worked out but Lat + wanted Distance and Lng - wanted distance) (these lat/lng measurements are off the top of my head). This gives the area like this box but you want just the circle in it. So, if you then test the actual distance from the starting point and see if it is in the range you want, it should weed out the items that are in the "blue" corner areas between the circle and the box. Is this the issue you are see it tough creating or is it something else? Note: for my app, it isn't important to be accurate enough for the circular type area and so I just left it with the range from the top Right to the bottom left. HTH

Continue reading...
 
Status
Not open for further replies.
Back
Top