Xamarin表单是否支持由Google地图本机控件插入的Bing地图? [英] Did Xamarin forms supports Bing maps insted of Google map native control?

查看:78
本文介绍了Xamarin表单是否支持由Google地图本机控件插入的Bing地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要同时在Xamarin表单应用(适用于Android和iOS)中显示必应"地图视图.我们已经在的帮助下完成了两个平台的Google地图集成 https://docs.microsoft.com/zh-cn/xamarin/xamarin-forms/user-interface/map#Using_Xaml https://github.com/amay077/Xamarin.Forms.GoogleMaps .

我既没有找到Bing地图在Android和iOS上支持的任何文档,也没有任何内容表明它不支持.

所以我如何获得将Bing地图集成到我的Xamarin表单Android和iOS应用程序中的文档.

解决方案

Xamarin.Forms仅支持Uem的 Bing Maps ,不适用于android或iOS.没有官方公告,也没有SDK可用.如果您想添加 Bing Maps ,请为UWP项目添加.对于Android,需要具有GoogleAPI的密钥.与iOS项目一起,您可以使用 apple map的 google map的.要获得详细信息,请阅读以下文章

https://www.c-sharpcorner.com/article/getting-started-with-google-and-bing-maps-using-xamarin-forms/

https://trivedihardik.wordpress.com/2012/03/24/how-to-integrate-bing-map-in-android/

We have an requirement for showing Bing maps view in Xamarin forms app for Android and iOS both. We have done the integration of Google maps for both platforms with the help of https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/map#Using_Xaml and https://github.com/amay077/Xamarin.Forms.GoogleMaps.

I neither found any documentation that Bing maps supported on Android and iOS nor any thing says it did not support.

So How can I get documentation to integrate Bing maps in my Xamarin forms Android and iOS application.

解决方案

Xamarin.Forms supports Bing Maps only for UWP not for android or iOS. There is not official announcement or SDK's are available to do so. If you wish to add Bing Maps do it for UWP project. For Android need to have GoogleAPI's keys. Along with iOS project you can go either apple map's or google map's. To have detailed information go through below articles

https://www.c-sharpcorner.com/article/getting-started-with-google-and-bing-maps-using-xamarin-forms/

https://trivedihardik.wordpress.com/2012/03/24/how-to-integrate-bing-map-in-android/

这篇关于Xamarin表单是否支持由Google地图本机控件插入的Bing地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆