problems with adding baidu layer
See original GitHub issueI want to add a layer with Baidu tiles to OpenLayers, and I saw @tschaub’s #3522Comment
I’m using version 6.1.1 and I changed y
in tileUrlFunction
to -tileCoord[2] - 1
.
However, only the region of China is rendered correctly. Also, there’s a strip on the right side of the Map.
I don’t know if I made the question clear.
Here is the Code: https://codesandbox.io/s/xyz-6zzh6
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Baidu Has Problems Not Easily Solved (NASDAQ:BIDU)
The real problems for Baidu are more fundamental: the eroding market share, the source of its revenue and the bad reputation the company...
Read more >Mixed Precision Training - Baidu Research
It becomes very difficult to train large deep learning models using less than 32 bits for the addition operation. In addition to this...
Read more >Using Baidu tiles in QGIS? - GIS Stack Exchange
So I just did a bit of Googling and have managed to get the XYZ URL to render in QGIS. However, I think...
Read more >Add Baidu Map to the page with Leaflet - Medium
Fetch Baidu tiles for the map. The last step is to create a new title layer for storing Baidu tiles' URL and get...
Read more >Pre-trained Language Model based Ranking in Baidu Search
web search system due to the following challenging issues: (1) ... is warm-initialized with a 12-layer ERNIE 2.0 provided by Baidu. Wenxin 2....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See https://codesandbox.io/s/xyz-w6i5o for a working OpenLayers 6.x example using the tile service from the original poster’s code sandbox. It is a slightly modified version of the code mentioned in https://github.com/openlayers/openlayers/issues/3522#issuecomment-570493906. Instead of defining a custom tile function, It uses the auto-generated tile function, but calls it with a different y.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.