Skip to content

Polyline view not shown on map #2

Open

Description

@fousa

Hi,

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?

Thanks a lot, great framework port by the way!!

Activity

  1. rickfillion commented on Jan 20, 2012

    @rickfillion
    Member

    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. :)

  2. fousa commented on Jan 26, 2012

    @fousa
    Author

    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.

  3. rickfillion commented on May 19, 2012

    @rickfillion
    Member

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions