iTowns / itowns

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

wmts cant load tiles correctly using PlanarView with a small extent #2298

Open zhuoning1994 opened 3 months ago

zhuoning1994 commented 3 months ago

Your Environment

Context

Steps to Reproduce (for bugs)

  1. init extent: new itowns.Extent( 'EPSG:3857',13226515.34 - 10000, 13226515.34 + 10000, 3767482.34 - 10000, 3767482.34 + 10000);
  2. init view : view = new itowns.PlanarView(viewerDiv, extent, { placement: { heading: 0, range: 1000, tilt: 90 }, maxSubdivisionLevel: 18, }); 3.load wmts layer: itowns.Fetcher.json('./layers/JSONLayers/Ortho.json').then(function _(config) { config.source = new itowns.WMTSSource(config.source); var layer = new itowns.ColorLayer(config.id, config); view.addLayer(layer); });

    Expected Behavior

Actual Behavior

the surface composed of repeated tiles

Possible Cause/Fix/Solution

show the hole tile ,whatever the tile is intersect the extent bound ![Uploading 1710836194870.jpg…]()