Results 1 to 6 of 6

Thread: iOS: area around user?

  1. #1
    Etablierter skobbler
    Join Date
    21.10.2014
    Posts
    20

    iOS: area around user?

    Hello,

    I would like to know how big ist the area around the user when he is running.
    if ([detectedPOI poiID] == 7 && [detectedPOI distance] <= 70) {
    ....
    }

    Jumps the user in this is loop exactly 70m before?

    10x,
    Ivaylo

  2. #2
    Etablierter skobbler
    Join Date
    21.10.2014
    Posts
    20
    IMG: 20150127-radius.jpg
    Attached Images Attached Images

  3. #3
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    Hi Ivaylo,
    Could you explain what are you trying to achieve? What is the behaviour you are after?

  4. #4
    Etablierter skobbler
    Join Date
    21.10.2014
    Posts
    20
    70 meters before the POI id=7 I would like to trigger a function.
    Everything is working fine. I just would like to know if the distance to the POI is really 70 meters.
    Does the user has a area around him? Will the function be triggered exactly 70 meters before he reaches the point?

    10x
    Ivaylo

  5. #5
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    Using the POI tracking (http://developer.skobbler.com/gettin...android#sec018) function you can specify:
    - the minimum aerial distance to the POI
    - the minimum route distance to the POI
    - the minimum number of turns on to the POI
    - other factors (see http://developer.skobbler.com/docs/a...lePOIRule.html)

    For filtering out POIs all rules are applied, so you'll have to set high values for the ones that should not affect the outcome. I.e. I'm only interested in the route distance -> I set the route distance to 70m and for other parameters I set high values (aerial distance = 4000m , number of turns = 3, etc.). In your case set the aerial distance and/or the route distance to 70 and leave the other parameter to their default values - it should be fine.

  6. #6
    Etablierter skobbler
    Join Date
    21.10.2014
    Posts
    20
    ok, thank you very much

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •