Skip to content
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

使用TMSSource加载离线瓦片,地图是错位 #2458

Open
yhzcode opened this issue Nov 4, 2024 · 5 comments
Open

使用TMSSource加载离线瓦片,地图是错位 #2458

yhzcode opened this issue Nov 4, 2024 · 5 comments
Assignees
Labels

Comments

@yhzcode
Copy link

yhzcode commented Nov 4, 2024

20241104125118
20241104125151

在使用 itowns.TMSSource 时候,y 是上下错位的,请问有正确的处理方案吗,或者我没有正确的使用,非常感谢

@jailln
Copy link
Contributor

jailln commented Nov 4, 2024

Hi,
Thanks for you isse. Could you follow the bug issue template and write in english please?

@yhzcode
Copy link
Author

yhzcode commented Nov 4, 2024

Your Environment

  • Version used:2.44.2
  • Browser Name and version:
  • Operating System and version (desktop or mobile):
  • Link to your project:
    20241104125151

Context

Sorry,
When using iTowns.TMSSource time, y is misplaced up and down, please is there a correct solution, or I didn't use it correctly, thank you.
As shown in Fig:
20241104125118

@jailln jailln self-assigned this Nov 4, 2024
@jailln
Copy link
Contributor

jailln commented Nov 4, 2024

Thanks :)

It looks like you should set isInverted to true in the TMSSource configuration.

@yhzcode
Copy link
Author

yhzcode commented Nov 5, 2024

Sorry,I didn't verify it in time, but this doesn't solve the problem, but thank you very much for your reply, I won't solve this problem for now

@jailln
Copy link
Contributor

jailln commented Nov 5, 2024

Sorry, I'm not sure I understand your reply. Does setting isInverted: true solves the problem ?

If not, can you provide a reproduction (e.g. a jsfiddle or a link to your dataset)?

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

No branches or pull requests

2 participants