GeolocationControlEventMap

GeolocationControl 支持的事件名与事件对象类型映射

interface GeolocationControlEventMap {
    locationError: GeolocationControlErrorEvent;
    locationSuccess: GeolocationControlSuccessEvent;
}

属性

定位失败后触发

定位成功后触发