如何在iPhone中的地形视图中加载Google地图 [英] how could I load the Google map in terrain view in iphone
本文介绍了如何在iPhone中的地形视图中加载Google地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是iPhone的新手。如何在地形视图中加载Google地图。
MKMapView只提供三个选项,MKMapTypeStandard,MKMapTypeSatellite,MKMapTypeHybrid。
I'm new in iPhone. How could I load the Google map in terrain view. MKMapView provides only three options, MKMapTypeStandard, MKMapTypeSatellite, MKMapTypeHybrid.
但是我想显示地形视图,
But I want to show the terrain view, how could I do that.
推荐答案
您可以在 mapType
属性的值> MKMapView 实例为3(而不是使用命名常量之一):
You can set the value of the mapType
property on your MKMapView
instance to 3 (instead of using one of the named constants):
yourMapView.mapType = 3;
在针对5.0 SDK编译时适用于我。不知道它是否会通过应用商店审批流程...
Works for me when compiling against the 5.0 SDK. No idea if it'll get through the app store approval process...
这篇关于如何在iPhone中的地形视图中加载Google地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文