back | source
Multiple Address lookup
  1. Converting multiple geographic coordinates into a human-readable address. (read more: REST API)
    https://go.gistda.or.th/map2/services/addresses?lon[]=100&lat[]=13&lon[]=101&lat[]=14&key=[YOUR_KEY_API]" 
    * Note! Make sure to replace [YOUR_KEY_API] with your API key

    Below is a reverse geocoding response, in JSON:
    [
      {
        "geocode": "760123",
        "province": "Phetchaburi",
        "district": "Mueang Phetchaburi",
        "subdistrict": "Nong Khanan",
        "postcode": 76000,
        "elevation": 7
      },
      {
        "geocode": "260403",
        "province": "Nakhon Nayok",
        "district": "Ongkharak",
        "subdistrict": "Sisa Krabue",
        "postcode": 26120,
        "elevation": 6
      }
    ]
    • geocode: a digital code that matches geographical coordinates to the name of a location (Can be able to use with Showing region/location)
    • province: province
    • district: district
    • subdistrict: subdistrict
    • postcode: postcode is an official code used by the post office
    • elevation: height above mean sea level (AMSL)
    Example

    Drag a marker one to desired coordinate

    Drag a marker two to desired coordinate

    Result


    ข้อมูลเพิ่มเติม: Batch Reverse Geocoding - Rest API