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

Tiles are not true color #88

Open
cyango opened this issue Sep 30, 2024 · 1 comment
Open

Tiles are not true color #88

cyango opened this issue Sep 30, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cyango
Copy link

cyango commented Sep 30, 2024

Hi, I'm doing a simple example on r3f canvas and the tiles are not the true color, any clue?

function Map2d() {
const { scene } = useThree();
// const provider = new GoogleMapsProvider('AIzaSyBGBfaz8uqHKVOTEUDq9JHlG_UCddzeZ2w');
const provider = new OpenStreetMapsProvider();
const map = new MapView(MapView.PLANAR, provider);

map.position.set(0, -1, 0);
map.scale.set(10000, 10000, 10000);

// Set the map material in three.js

scene.add(map);

return <></>;
}

image

@tentone
Copy link
Owner

tentone commented Oct 1, 2024

Hello

We have recently merged a new commit to add suport for the new color space model in theejs wich should fix this issue.

I will publish a new version of the library soon.

@tentone tentone added the bug Something isn't working label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants