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

High DPI Bing Imagery #9221

Open
kring opened this issue Nov 2, 2020 · 0 comments
Open

High DPI Bing Imagery #9221

kring opened this issue Nov 2, 2020 · 0 comments

Comments

@kring
Copy link
Member

kring commented Nov 2, 2020

It's not well documented, but Bing Maps supports high-DPI labels on the Roads and Aerial with Roads layers. The way it works is we add &dpi=d1 to the tile request URL, and we get back a tile that is identical imagery-wise but has labels rendered at twice their normal size. Then, we just need to request 4x the tiles and make them half the size we would have before, i.e. map 4x the imagery tiles to each terrain tile. Or request four tiles where we would have requested 1 before and combine all four 256x256 images into a single 512x512 texture.

Normal tile: https://t0.ssl.ak.dynamic.tiles.virtualearth.net/comp/ch/3112301330020332?n=z&mkt=en-US&it=A%2CG%2CL&src=t&og=1218
High DPI tile: https://t0.ssl.ak.dynamic.tiles.virtualearth.net/comp/ch/3112301330020332?n=z&mkt=en-US&it=A%2CG%2CL&src=t&og=1218&dpi=d1

Source: digidem/leaflet-bing-layer#32

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

No branches or pull requests

2 participants