Topic: GetWorldPosition abnormal

Hello, I am using the coordinate conversion API(GetWorldPosition), but when the map is zoomed to the minimum level, the coordinate conversion will be abnormal. Marker is on the right side of the map, but the coordinates are on the left.
Thank you for your help!

video:http://v.youku.com/v_show/id_XMzk0MDQ1NzYwMA==.html?x&sharefrom=android&sharekey=ef625c6ef6cece09c07479f2461931fe8

Re: GetWorldPosition abnormal

public Transform cube;
    private OnlineMapsMarker marker;
    private void Start ()
    {
        marker=new OnlineMapsMarker();
        marker.position=new Vector2(116,39);
        OnlineMaps.instance.AddMarker(marker);
    }

    private void Update()
    {
        Vector3 worldVector3 = OnlineMapsTileSetControl.instance.GetWorldPosition(marker.position);
        cube.position = worldVector3;
    }

Re: GetWorldPosition abnormal

Re: GetWorldPosition abnormal

Hello.

Unfortunately, I could not reproduce the problem.
Video:
https://www.dropbox.com/s/1nupvcelf920l … 1.mp4?dl=0

The test script is attached.

Post's attachments

Attachment icon TestGetWorldPosition.cs 745 b, 86 downloads since 2018-11-29 

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: GetWorldPosition abnormal

Hello, I used your code to reproduce this problem. You gently drag the map to the left, sometimes the coordinate conversion will be abnormal.
Thank you!

video:
http://v.youku.com/v_show/id_XMzk0MTk1O … 0dd507d674

Re: GetWorldPosition abnormal

What version of Online Maps are you using?
Please send a screenshot of Online Maps and Online Maps Tileset Control.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.

Re: GetWorldPosition abnormal

Hello, the version I used is 2.5.37.1 and the unity version is 5.6.5f1.
You need to zoom the map to the smallest level to see this exception. Other zoom is normal.
Thank you for your help.

Post's attachments

Attachment icon 01_meitu_1.png 143.91 kb, 59 downloads since 2018-11-30 

Re: GetWorldPosition abnormal

This explains a lot.
I tested on Online Maps v2.5.48.
So try to update Online Maps.

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.