You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement overlays in my Mac application, but when I add an overlay I always get the "Error creating internal representation of overlay view for overlay: <MKPolyline: 0x1004c55e0>" error...
Do you have any idea what it means? Or how I can solve this?
Can you send me the code you're trying to run to rick@oomphalot.com? I can take a look at it and hopefully fix what's wrong with the framework. At one point polylines worked. :)
The 'proper' workaround for this is to wait for the delegate call saying the map is loaded. The issue is that the map view won't handle calls properly until it has initialized gmaps properly. The delegate call signifies "gmaps is up, we're good to go."
The real fix for this is to queue up all calls prior to this then replay them when gmaps comes up. Implementable, but a bit of a pain, so I'm not tackling it yet (since the workaround is easy).
Activity
rickfillion commentedon Jan 20, 2012
Can you send me the code you're trying to run to rick@oomphalot.com? I can take a look at it and hopefully fix what's wrong with the framework. At one point polylines worked. :)
fousa commentedon Jan 26, 2012
I emailed you my project. I found a little workaround, but I don't think it's clean. I add the Overlay with a small delay of 0.3 seconds.
rickfillion commentedon May 19, 2012
The 'proper' workaround for this is to wait for the delegate call saying the map is loaded. The issue is that the map view won't handle calls properly until it has initialized gmaps properly. The delegate call signifies "gmaps is up, we're good to go."
The real fix for this is to queue up all calls prior to this then replay them when gmaps comes up. Implementable, but a bit of a pain, so I'm not tackling it yet (since the workaround is easy).