You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the option `useTileLayerAsFallback` is set to `true`, the tile server is only used as a fallback.
135
+
134
136
### buildTileUrlTemplate
135
137
136
138
A more flexible option than `tileSourceTemplate` is passing a function to `buildTileUrlTemplate`.
@@ -140,12 +142,25 @@ This option replaces the v2 option `tileProxyUrl`.
140
142
141
143
Please note that this option can only be provided through a config file and is not available via CLI.
142
144
145
+
If the option `useTileLayerAsFallback` is set to `true`, the tile server is only used as a fallback.
146
+
143
147
### useTileLayerAsFallback
144
148
145
-
If either `tileSourceTemplate` or `buildTileUrlTemplate` are given server-side rendering of COGs is enabled.
149
+
Depending on this option, either client-side or server-side rendering of imagery such as (cloud-optimized) GeoTiffs can be enabled/disabled.
150
+
151
+
If either `tileSourceTemplate` or `buildTileUrlTemplate` are given server-side rendering of GeoTiffs is enabled.
146
152
If server-side rendering should only be used as a fallback for client-side rendering, enable the boolean `useTileLayerAsFallback` option.
147
153
148
-
By default, client-side COG rendering is enabled. A server-side fallback is provided via the [tiles.rdnt.io](https://github.com/radiantearth/tiles.rdnt.io) project, which serves publicly accessible COGs as tile layers.
154
+
To clarify the behavior, please have a look at the following table:
| true | one of them configured | client-side | tile-server |
159
+
| false | one of them configured | tile-server | none |
160
+
| true | none configured | client-side | none |
161
+
| false | none configured | none | none |
162
+
163
+
By default, client-side rendering is enabled. A server-side fallback is provided via the [tiles.rdnt.io](https://github.com/radiantearth/tiles.rdnt.io) project, which serves publicly accessible GeoTiffs as tile layers.
0 commit comments