繁体   English   中英

如何使用 Xamarin.Forms.Maps 在 iOS 上使用 Google 地图?

[英]How to use Google Maps on iOS using Xamarin.Forms.Maps?

I'm trying to use Google Maps on iOS in my Xamarin.Forms app using the Xamarin.Forms.Maps nuget package instead of iOS Maps.

I've tried using the Xamarin.Forms.GoogleMaps and Xamarin.Forms.GoogleMaps.V2 but to no avail, it kept breaking things I don't know if it doesn't work with the current versions of Xamarin.Forms 5.0 or something但是我什至尝试了全新的项目,并且在按照各种教程(例如https://nerd-corner.com/how-to-integrate-google-maps-in-an -app-with-xamarin/或 Xamarin.Forms Pluralsight 上的 Google 地图课程,但没有任何效果。

所以我开始使用 Xamarin.Forms.Maps 并且一切正常,但我试图在 iOS 上使用谷歌地图而不是地图。

我已经在整个互联网上寻找它,但似乎只有黑客可用(例如,如果应用程序安装在设备上,它将使用谷歌地图,否则它将使用地图),我不能冒险使用黑客。

谢谢您的帮助 !

还有人可以帮忙吗? Is there any hacks we can do to get Google Maps on iOS without using Xamarin.Forms.GoogleMaps as this package seems to not work with the new versions on Xamarin?

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM