Skip to content

Map tiles overlapp or disjoint when using WorldScale #1712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Pizoline opened this issue Oct 31, 2020 · 1 comment
Open

Map tiles overlapp or disjoint when using WorldScale #1712

Pizoline opened this issue Oct 31, 2020 · 1 comment

Comments

@Pizoline
Copy link

Hello

When configuring Mapbox in WorldScale, the tiles starts at a correct size/position, but drift as you change the Location.
If you move far enough, tiles can overlap each other, or leave a gap between them.

It's an old bug already presented in these thread: #952 #984 #1091

This bug is still present in v2.1.1, and easy to reproduce:

  • Create an empty scene
  • Add a Mapbox Map
  • Configure "Scaling Option" to "World Scale"
  • Press Play
  • During playmode, change location far away (using AbstractMap Inspector)
    Farther you jump, more is the tiles overlapping

The unmerged git branch "worldScaleLatitudeCompFix" try to introduces a patch. The tiles are then always juxtaposed, but other methods like "GeoToWorldPosition" are not working anymore.

Note: If this is a bug or support ticket, please provide the following information:

  • Unity version: 2019.1 & 2019.4
    • Scripting Runtime Version: -
    • Scripting Backend: Mono
    • Api Compatibility Level: Net 4
  • Mapbox SDK version: v2.1.1 & develop
  • The platform you're building to: Editor, Windows, iOS ans Android
  • A description of what you're trying to do: Juste navigate on the map
  • Steps to recreate the bug if appropriate: -
  • Links to your logs are also helpful: -
@brnkhy
Copy link
Contributor

brnkhy commented Nov 17, 2020

@Pizoline Have you seen the discussion here; #138 and #1378
Hope those helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants