0
我正在测试iOS上的google maps SDK(我正在使用最新版本)。 我使用Google提供的示例来测试室内导航功能。在购物中心显示零售商店 - GoogleMaps Indoor
我不知道为什么,但是当我在示例应用程序中查看购物中心时,我看到室内计划,但没有位于其中的零售商店,但使用Google地图本机iPhone应用程序时,我可以看零售店。
P.S:我正在测试一个真实的设备 - 不是在模拟器上。
我的代码:
GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:32.074492
longitude:34.791458
zoom:18];
mapView_ = [GMSMapView mapWithFrame:CGRectZero camera:camera];
mapView_.settings.myLocationButton = YES;
mapView_.indoorEnabled = YES;
mapView_.settings.indoorPicker = YES;
mapView_.settings.compassButton = YES;
mapView_.delegate=self;
mapView_.indoorDisplay.delegate=self;
// Ask for My Location data after the map has already been added to the UI.
dispatch_async(dispatch_get_main_queue(), ^{
mapView_.myLocationEnabled = YES;
});
self.view = mapView_;
任何想法?
在此先感谢。