Searching for this problem only gave me posts that were regarding opengl stuff that I have no knowledge of whatsoever.
On my Storyboard, I've got 1 view in which I put another slightly smaller UIView object to act as a container for my map. This works fine, not much code at all. I set the class of the UIView to be GMSMapView
. I CTRL-drag it to create a outlet to the corresponding viewController. After this I create a GMSCameraPosition
to a specific location. I set self.mapView
, which is the outlet, to [GMSMapView mapWithFrame:CGRectZero camera:camera];
camera being the camera position I specified.
This seems to work, the app starts without errors and the map is shown in the UIView that I created, but, the camera position is not where I specified. And I know that the position is valid because if I use self.view
instead of self.mapView
the map shows up on the whole screen at the correct position.
In the log I get the error Failed to make complete framebuffer object 8cd6
and as I said, posts regarding this made no sense whatsoever to me, and I am clueless to what problem this is.