Custom map annotation center point differs between iOS and android

You must Login before you can answer or comment on any questions.

Hi all,

I noticed there's a pull request on this at: https://jira.appcelerator.org/browse/TIMOB-9403

But I just want to confirm this inconsistency.

It seems, when using a custom annotation image, on iOS the center point is the middle of the image, whereas on android, the center point is the bottom of the image.

I wanted to use a crosshair image to display on my annotation but realised that although it appears in the right place on iOS it sits completely wrong on android.

It's quite a bad bug because it means that you may as well not use custom annotation images at all as their marker locations will be completely wrong depending where you believe the center point should be....

1 Answer

Hi Adam

I have found the same issue, and tried in vain to resolve it, although my wish was to actually offset the iOS version.

There is hope as you noted with the potential centerOffset which will allow us to do exactly as we want.

Sorry this answer is just a confirmation of what you thought - but sometimes that is all we can give :)

Your Answer

Think you can help? Login to answer this question!