-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support for retina layers #32
Comments
I don't see any options for high-PPI in the REST API docs, so I don't think this is possible. If you find anything, please post here: https://msdn.microsoft.com/en-us/library/ff701713.aspx |
HI @gmaclennan thanks for your quick reply. Yep i haven´t found anything useful on the documentation for the high res imagery. I´m trying to get some help from Bing support team and determine if it´s possible at all or not. Thanks, i will post my findings |
I was curious about the same thing so I reached out to a Bing rep and received this response.
Haven't played around with an implementation yet. |
@wavded thanks for reporting back on your findings. It would be great to support this in this module, I won't have time to look at this any time soon, but I would welcome any PRs. |
FWIW, OL added support in this commit: https://github.com/openlayers/openlayers/pull/6077/files I played around with it a little bit and although I could get the retina tiles and make them 128x128, the grid seemed to be off and I couldn't figure out how to get it back in alignment. I may try again later, but if anyone else has some ideas, go for it. |
Would be awesome to get this supported. |
@wavded, are you able to share the changes you made to grab the retina tiles and shrink them down? I'd like to help get this supported but it would be nice to have a starting point. |
@TNLuke unfortunately no, in hindsight I should have made a PR |
No worries! Thanks for playing though, at least we know it's possible to get that far. |
leaflet-bing-layer/leaflet-bing-layer.js Line 92 in 1d5a153
P.S. leaflet-bing-layer/leaflet-bing-layer.js Lines 116 to 119 in 1d5a153
|
Implemented in other project: shramov/leaflet-plugins@2eb1b0a |
Hi All
I have been using the plugin for a year now and it works pretty good, but we have been wondering if it supports high definition imagery, according to this bing documentation (https://blogs.bing.com/maps/2015/02/12/high-ppi-maps-now-available-in-the-bing-maps-ajax-control) it is supported by their native SDK but not sure if there is a way we can use it on the plugin. I have used the default leaflet option detectRetina true but it seems the imagery is not being loaded on high res.
The text was updated successfully, but these errors were encountered: