iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.1k stars 300 forks source link

How to use Baidu map tile #1543

Closed guoyao132 closed 3 years ago

guoyao132 commented 3 years ago

const tmsSource = new itowns.TMSSource({ crs: 'EPSG:3857', format: 'image/png', url: this.mapURL, tileMatrixSet: 'PM', zoom: this.mapZoom, }); const colorlayer = new itowns.ColorLayer('OPENSM', { source: tmsSource, }) view.addLayer(colorlayer)

I can use Gaode map tiles normally. How can I use Baidu tiles

gchoqueux commented 3 years ago

Have you web service specification, on Baidu tiles? Have you a url on the Baidu tiles web service?