Topic: When Half Size on,markers not stuck to gps coordinates on real device

Hello I noticed this one earlier today on 3.4. It is still occurring on 3.5.

When using TileSet Control, and having OnlineMapsAdjustToScreen, with Half Size toggle on, markers won't stick to their GPS coordinates when on a real android device (didn't test on iOS). (it works correctly when on editor, and also when Half Size toggle is off)

Managing finger gestures with the free version of Fingers-Touch Gesture didn't fix it.

Reproduced it on a dummy project with just one map generated with the wizard. I put one marker for test. Zoomed a bit. just using the finger to move the map here and there is enough to notice it. Unity 2019.1.11f1

Re: When Half Size on,markers not stuck to gps coordinates on real device

Hello.

Thank you for bug report.

This was because OnlineMapsAdjustToScreen could set a map size not equal to N * 256.
Problem has been fixed.
A modified script is attached.
The next version will contain this fix.

Post's attachments

Attachment icon OnlineMapsAdjustToScreen.cs 3.28 kb, 19 downloads since 2019-08-08 

Kind Regards,
Infinity Code Team.

Do not know the best way to thank the developer? Rate the asset in Asset Store!

Re: When Half Size on,markers not stuck to gps coordinates on real device

Yep. Works like a charm. Thanks for the quick fix.