跳转到主要内容

map_resolve_user_location

Description

控制是否提示用户共享其位置以显示在地图上

map_resolve_user_location: boolean

Example

scheduler.config.map_resolve_user_location = false;  
...
scheduler.init('scheduler_here', new Date(2013,05,11), "week");

Default value: true

Applicable views: Map view

Details

注释

该属性需要启用 map_view 插件。

resolve_user_location 设置也可以在 map_settings 配置对象中定义。

某些浏览器提供访问用户位置的选项。当此选项设置为 true 时,地图加载时会提示用户共享其位置。

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.