GeolocationResult
Positioning result from browser, the process and failure information of positioning can be obtained from the message field(Type: Object)
Parameter:
Positioning result from browser, the process and failure information of positioning can be obtained from the message field(Type: Object)
Parameter:
Attribute | Type | Description | |
position | Latitude and longitude position obtained from positioning | ||
accuracy | Positioning accuracy, meters | ||
location_type | Type of positioning, ip/h5/sdk/ipcity | ||
message | Information about the positioning process, used to troubleshoot positioning failures | ||
isConverted | Whether it has been converted to AMap coordinates | ||
info | SUCCESS' or 'PERMISSION_DENIED' or 'TIME_OUT' or 'POSITION_UNAVAILABLE' | ||
addressComponent | Return structured address information when needAddress | ||
formattedAddress | Return the standardized address when needAddress | ||
pois | Return POI information near the location point when needAddress | ||
roads | Return the road information near the location point when needAddress | ||
crosses | Return the intersection information near the location point when needAddress | ||