Results 1 to 6 of 6

Thread: Tap on a pin in Portrait view; switch to Landscape - pin shows wrong place

  1. #1
    Neuer skobbler
    Join Date
    02.12.2014
    Posts
    7

    Tap on a pin in Portrait view; switch to Landscape - pin shows wrong place

    Tap on a pin in Portrait view; switch to Landscape - pin shows wrong place.

    That's pretty much what is happening. The opposite works - if, in landscape mode; I tap on a pin from over the map and turn to Portrait; the info-balloon re-adjusts properly.

    But vice-versa; not.

    A fix will be REALLY appreciated?

    Thanks!

  2. #2
    Neuer skobbler
    Join Date
    02.12.2014
    Posts
    7
    A screenshot to go along:

    IMG_0185[2].jpg

  3. #3
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    Could you specify which SDK version you are using (2.3, 2.2 or other) and on which platform?
    If I understand correctly the pin is correctly repositioned but the callout view (the info-box) is not?

  4. #4
    Neuer skobbler
    Join Date
    02.12.2014
    Posts
    7
    2.1.

    I have tried with the new one 2.3.1; but it seems it's not fixed there too; and if zoomed out; you can't also tap the pins.

    Any ideas? This is serious.
    Last edited by icefire; 04.12.2014 at 14:10.

  5. #5
    Dev platform evangelist dandronic's Avatar
    Join Date
    31.03.2014
    Posts
    177
    This is a bug which will be fixed for the next release.

    The issue could be worked around by implementing didRotateFromInterfaceOrientation: and manually repositioning the callout like this
    - (void)didRotateFromInterfaceOrientationUIInterfaceOrientation)fromInterfaceOrientation {
    [self.mapView showCalloutForAnnotation:yourAnnotation withOffset:CGPointMake(0, 42.0f) animated:NO]; //you could also use showCalloutAtLocation
    }

    The callout reposition will lag a bit behind the rest of the UI but it will be repositioned correctly.
    The annotation tap issue when zooming out can be solved by changing the annotationTapZoomLimit in the mapView.settings.

  6. #6
    Neuer skobbler
    Join Date
    02.12.2014
    Posts
    7
    Wow, that's great information. Thank you! Awaiting 2.4 too.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •