forked from gwaldron/osgearth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
min_max_resolutions.earth
31 lines (25 loc) · 998 Bytes
/
min_max_resolutions.earth
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!--
This example demonstrates how to use two image sources and switch between them
at a given resolution level.
-->
<map name="Min Max Resolution Levels" type="geocentric" version="2">
<!-- this level will be visible at lower resolutions -->
<image name="EOX cloudless" driver="wms">
<url>https://tiles.maps.eox.at/wms?</url>
<format>jpeg</format>
<layers>s2cloudless</layers>
<tile_size>256</tile_size>
<srs>EPSG:4326</srs>
<transparent>false</transparent>
<min_resolution>7500</min_resolution>
</image>
<!-- this level will be visible at higher resolutions -->
<image name="osm_mapnik" driver="xyz">
<url>http://[abc].tile.openstreetmap.org/{z}/{x}/{y}.png</url>
<profile>spherical-mercator</profile>
<cache_policy usage="none"/>
<attribution>©OpenStreetMap contributors</attribution>
<max_resolution>2500</max_resolution>
</image>
<options lighting="false"/>
</map>