自 2018 年 1 月更新起,Google Chrome 将不允许在跨域 iframe 中访问浏览器的地理定位 API,除非嵌入页面在文档对象模型的 iframe 元素中明确允许该行为。 ArcGIS Maps for SharePoint 加载项中嵌入的 ArcGIS Maps 和 ArcGIS Search 应用程序部件将在外部域提供的 iframe 中进行渲染。 由于 SharePoint 在运行时将 iframe 插入到页面中,因此无法将 geolocation=allow 策略应用于 iframe 元素。 由于“查找我的位置”功能需要地理定位 API,因此在使用浏览器时,该功能将不可用。