- Timestamp:
- 2018-02-28T18:17:13+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/SyncEditorLayerIndex.groovy
r12266 r13474 212 212 String res = offset + "<type>$t</type>\n" 213 213 res += offset + "<url>${cdata(getUrl(entry))}</url>\n" 214 if(t == "tms") { 215 if(getMinZoom(entry) != null) 216 res += offset + "<min-zoom>${getMinZoom(entry)}</min-zoom>\n" 217 if(getMaxZoom(entry) != null) 218 res += offset + "<max-zoom>${getMaxZoom(entry)}</max-zoom>\n" 219 } else if (t == "wms") { 214 if(getMinZoom(entry) != null) 215 res += offset + "<min-zoom>${getMinZoom(entry)}</min-zoom>\n" 216 if(getMaxZoom(entry) != null) 217 res += offset + "<max-zoom>${getMaxZoom(entry)}</max-zoom>\n" 218 if (t == "tms") { 220 219 def p = getProjections(entry) 221 220 if (p) {
Note:
See TracChangeset
for help on using the changeset viewer.