user2867432 user2867432 - 5 months ago 125
Objective-C Question

Encountered indoor level with missing enclosing_building field

After the May 2015 update of Google map, I am getting the following warning:

Encountered indoor level with missing enclosing_building field: 0x80c2bbbd1891186b:0xf16df7f729eb35d6

Any one else encountered this?

Answer

If you don't mind disabling indoor maps, that's one way to get the error message to go away:

GMSMapView *mapView_;
mapView_.indoorEnabled = NO;

See this.

Otherwise, I'd assume the error is due to bad data from the google map servers and that they'll fix it soon.