Load The Map Marker

//shareurloc.com/rest/app/standorte/getstandorte?api_token=PERSONAL-REST-AUTH-TOKEN&seite=PAGING
To provide an performance optimized load on Mobile Devices we split the result to different pages. Though the maps build it up time after time. We do it this way because if you load more thousand of marker you Device become problems to display them at one and on Mobile-Deviced it will generate a lot of Traffic.

{
  "status": "success",
  "standorte": [
    .....
    {
      "standort_id": "317694",
      "standort_lat": "47.0720128",
      "standort_lon": "7.5677866",
      "standort_icon": null
    },
    {
      "standort_id": "317695",
      "standort_lat": "47.197993",
      "standort_lon": "8.812724",
      "standort_icon": null
    },
    {
      "standort_id": "317696",
      "standort_lat": "47.0729735",
      "standort_lon": "8.2922523",
      "standort_icon": null
    },
    .....
  ],
  "count": 19,
  "seite": 1
}

GET Maker in Range to selection

//shareurloc.com/rest/app/standorte/getinrange?api_token=PERSONAL-REST-AUTH-TOKEN&filter=ARRAY&lat=LAT&lng=LON&start=PAGING
If you sent an range Check Request to the Service, it will delivery the results sorted by distance and you can paging above all datasets .

{
  "status": "success",
  "standorte": [
    .....
    {
      "standort_id": "317689",
      "distance": "10.7594190607235"
    },
    {
      "standort_id": "317691",
      "distance": "14.607405744937"
    },
    {
      "standort_id": "317435",
      "distance": "18.9487429603951"
    },
    .....
  ],
  "count": 56
}

GET Maker Detail Informations

//shareurloc.com/rest/app/standorte/getstandortinfo?api_token=PERSONAL-REST-AUTH-TOKEN&standortid=DATASET-ID
Finally the data of the Dataset can be loaded directly to displaying them in the Info PoP-Up or the result list.

{
  "status": "success",
  "standort": {
    "standort_id": "317431",
    "standort_name": "Möbel Hubacher AG",
    "standort_name2": null,
    "standort_street": "Rössliweg",
    "standort_hanr": "43",
    "standort_street_sub": null,
    "standort_zip": "4852",
    "standort_city": "Rothrist",
    "standort_country": "CH",
    "standort_phone": "0041 627857777",
    "standort_fax": "0041/62/7857778",
    "standort_email": " .... ",
    "standort_internet": "www.huelsta.de",
    "standort_desc": null,
    "standort_info": "furnplan,huelsta,now",
    "standort_lat": "47.310969",
    "standort_lon": "7.896338",
    "standort_prio": "1",
    "standort_hash": "A2F75AFFCD953A4391D4BEFADE5264AA",
    "standorte_icon": null,
    "standorte_image": null,
    "format_street": "<span>Rössliweg 43</span>",
    "format_city": "<span>4852 Rothrist</span>",
    "format_land": "<span>Switzerland</span>"
  }
}

for all request you have to sent your personal auth token