<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi:<br><br></div>We have a large scope of map data which are published by wmts. But they are deployed at the different server, Each server hold a part of the data. And we use the bbox to define the extent of the provided data.<br>

<br>For example,<br><br></div>0,0,20,20 ==> <a href="http://server1/wmts">http://server1/wmts</a>.. (this means data inside the bbox of (0,0,20,20) should request the data from server1.<br><br></div>20,20,40,40 ==> <a href="http://server2/wmtsservice.">http://server2/wmtsservice.</a>..<br>

<br></div><div>And each server will have a different `Attribution` which should displayed inside the map.<br></div><div><br></div>Now I wonder how to make them work together.<br><br>I have two ideas now:<br><br></div>1) create one wmts layer.<br>

<br></div>Then listen the `moveTo` event of the map, then change the url and attribution of the layer accordingly.<br><br></div>2) create each wmts layer for each server, of course the layer will have a `tileFullExtent` property.<br>

<br></div>Then I think OL will load the layers accordingly(layers whose extent are outside of the current viewport will not be loaded). Is this possible?<br><br></div>If manner 2 is possible, I wonder which is better with performance considered?<br>

</div>