目录

How to Obtain siteId?

siteId can be obtained in multiple ways. The following provides three methods for reference:

  1. Use the on('poiClick') method to obtain the value.

  2. Obtain the value from the result returned by place search APIs (APIs of keyword search, nearby place search, place details search, autocomplete, and forward geocoding).

  3. Obtain the value from the result returned by the chooseLocation API.