BUG : Case 31934 : Map Marker positioning anomaly - Video included

I just noticed that the image of the marker pin centers on the coordinates provided when running addMarker() such that the actual “point” of the pin suggests that the location is further south than it actually is. The pins (ie markers) should be bottom-justified, such that they still “point” to the same coordinates regardless of the zoom or map orientation. This is a major problem for any map app that needs to point to exact locations. Has anyone else noticed this?

Edit : Clearly a bug that needs to be fixed. Reported as Case 31934

Further clarification. Seems to affect IOS. Not sure if Android is similarly affected. Also seems to be an issue only when mapMarker files are supplied by the dev. Built in marker does not seem to behave this way. See the following video rougly captured showing the problem using Business Sample App map page. Watch the marker pin’s point carefully. As I rotate the map the point keeps moving in relation to the rotation. This is wrong. In all map applications as well as when custom markers are not used in Corona SDK, the pin’s point shows the location and needs to stay put through zoom in/out and rotation etc. This needs to be fixed in order for mapView to be useable. Total pita…  :frowning:

https://www.youtube.com/watch?v=la9-b4wWTpk&

Big hack if you want…  Make your custom images 2x as tall, with the bottom half completely transparent - to compensate for the bottom / center alignment problem.

Well, if I don’t supply custom marker and rely on the built in, OS supplied marker the issue goes away. The problem seems to be related to how the custom markers are anchored somewhere up towards the top rather than bottom middle… We need the custom map markers to be treated with anchorX, anchorY = 0.5, 1.0

So until the bug is fixed no more custom markers for me which is a shame as I relied on custom markers to point to locations which had been ‘favorited’ by the user…

Todays daily build, #2269 solves this problem. Thanks Corona Labs for a quick resolution. Most appreciated.

Further clarification. Seems to affect IOS. Not sure if Android is similarly affected. Also seems to be an issue only when mapMarker files are supplied by the dev. Built in marker does not seem to behave this way. See the following video rougly captured showing the problem using Business Sample App map page. Watch the marker pin’s point carefully. As I rotate the map the point keeps moving in relation to the rotation. This is wrong. In all map applications as well as when custom markers are not used in Corona SDK, the pin’s point shows the location and needs to stay put through zoom in/out and rotation etc. This needs to be fixed in order for mapView to be useable. Total pita…  :frowning:

https://www.youtube.com/watch?v=la9-b4wWTpk&

Big hack if you want…  Make your custom images 2x as tall, with the bottom half completely transparent - to compensate for the bottom / center alignment problem.

Well, if I don’t supply custom marker and rely on the built in, OS supplied marker the issue goes away. The problem seems to be related to how the custom markers are anchored somewhere up towards the top rather than bottom middle… We need the custom map markers to be treated with anchorX, anchorY = 0.5, 1.0

So until the bug is fixed no more custom markers for me which is a shame as I relied on custom markers to point to locations which had been ‘favorited’ by the user…

Todays daily build, #2269 solves this problem. Thanks Corona Labs for a quick resolution. Most appreciated.