Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[iOS] crash when mapView is initialized with CGRectZero frame #3700

Closed
RomainQuidet opened this issue Jan 26, 2016 · 3 comments
Closed

[iOS] crash when mapView is initialized with CGRectZero frame #3700

RomainQuidet opened this issue Jan 26, 2016 · 3 comments

Comments

@RomainQuidet
Copy link
Contributor

Initializing the map view with a zero frame crashes our test app:

2016-01-26 16:16:50.205 Mappy[346:51305] Failed to bind EAGLDrawable: <CAEAGLLayer: 0x145e36d80> to GL_RENDERBUFFER 1
2016-01-26 16:16:50.206 Mappy[346:51305] Failed to make complete framebuffer object 8cd6
2016-01-26 16:16:50.316 Mappy[346:51305] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan 23]'

@friedbunny
Copy link
Contributor

Dupe of #1572.

@RomainQuidet
Copy link
Contributor Author

@friedbunny sorry, searched CGRectZero but did not find it ! Thanks

@friedbunny
Copy link
Contributor

@RomainQuidet No problem, thousands of issues are tough for us to keep track of, too — thanks for the report. 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants