如何在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...