在地图上为 windows 个应用标记位置
Mark a location on map for windows app
我正在尝试在 Windows 10 应用程序中使用 link 在地图上标记位置。
尝试使用 urlscheme maps:q=<location>
和 geo:0,0?q=<location>
作为锚标记 <a></a>
。
两种 URL 方案都会启动安装在设备中的地图应用程序,但地图上未标记位置。
我为 Android 尝试了 geo:0,0?q=<location>
,为 iOS 尝试了 maps:q=<location>
,效果很好。
知道了!
对于windows,我们可以使用Bing地图应用程序
URL Windows 在地图上搜索和标记位置的方案是 'bingmaps:?where='<location>
更多详细信息,请访问 https://msdn.microsoft.com/en-gb/windows/uwp/launch-resume/launch-maps-app
我正在尝试在 Windows 10 应用程序中使用 link 在地图上标记位置。
尝试使用 urlscheme maps:q=<location>
和 geo:0,0?q=<location>
作为锚标记 <a></a>
。
两种 URL 方案都会启动安装在设备中的地图应用程序,但地图上未标记位置。
我为 Android 尝试了 geo:0,0?q=<location>
,为 iOS 尝试了 maps:q=<location>
,效果很好。
知道了!
对于windows,我们可以使用Bing地图应用程序
URL Windows 在地图上搜索和标记位置的方案是 'bingmaps:?where='<location>
更多详细信息,请访问 https://msdn.microsoft.com/en-gb/windows/uwp/launch-resume/launch-maps-app