Skip to content

Commit

Permalink
adjust format of new.json, localConfig.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoudadel54 committed Oct 25, 2023
1 parent 147f178 commit e15480a
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 124 deletions.
244 changes: 122 additions & 122 deletions web/client/configs/localConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,129 +104,129 @@
},
"staticServices": {
"default_map_backgrounds": {
"type": "backgrounds",
"title": "Default Backgrounds",
"titleMsgId": "defaultMapBackgroundsServiceTitle",
"autoload": true,
"backgrounds": [{
"format": "image/jpeg",
"group": "background",
"name": "osm:osm_simple_light",
"opacity": 1,
"title": "OSM Simple Light",
"thumbURL": "product/assets/img/osm-simple-light.jpg",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"visibility": false,
"singleTile": false,
"credits": {
"title": "OSM Simple Light | Rendering <a href=\"https://www.geo-solutions.it/\">GeoSolutions</a> | Data © <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://www.openstreetmap.org/copyright\">ODbL</a>"
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "osm:osm_simple_dark",
"opacity": 1,
"title": "OSM Simple Dark",
"thumbURL": "product/assets/img/osm-simple-dark.jpg",
"type": "wms",
"url": [
"https://maps6.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms"
],
"visibility": false,
"singleTile": false,
"credits": {
"title": "OSM Simple Dark | Rendering <a href=\"https://www.geo-solutions.it/\">GeoSolutions</a> | Data © <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://www.openstreetmap.org/copyright\">ODbL</a>"
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "osm:osm",
"opacity": 1,
"title": "OSM Bright",
"thumbURL": "product/assets/img/osm-bright.jpg",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"visibility": true,
"singleTile": false,
"credits": {
"title": "OSM Bright | Rendering <a href=\"https://www.geo-solutions.it/\">GeoSolutions</a> | Data © <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://www.openstreetmap.org/copyright\">ODbL</a>"
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "ne:ne-political",
"opacity": 1,
"title": "NE Political",
"thumbURL": "product/assets/img/ne-political.jpg",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"visibility": false,
"singleTile": false,
"credits": {
"title": "<p></p>\n"
"type": "backgrounds",
"title": "Default Backgrounds",
"titleMsgId": "defaultMapBackgroundsServiceTitle",
"autoload": true,
"backgrounds": [{
"format": "image/jpeg",
"group": "background",
"name": "osm:osm_simple_light",
"opacity": 1,
"title": "OSM Simple Light",
"thumbURL": "product/assets/img/osm-simple-light.jpg",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"visibility": false,
"singleTile": false,
"credits": {
"title": "OSM Simple Light | Rendering <a href=\"https://www.geo-solutions.it/\">GeoSolutions</a> | Data © <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://www.openstreetmap.org/copyright\">ODbL</a>"
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "osm:osm_simple_dark",
"opacity": 1,
"title": "OSM Simple Dark",
"thumbURL": "product/assets/img/osm-simple-dark.jpg",
"type": "wms",
"url": [
"https://maps6.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms"
],
"visibility": false,
"singleTile": false,
"credits": {
"title": "OSM Simple Dark | Rendering <a href=\"https://www.geo-solutions.it/\">GeoSolutions</a> | Data © <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://www.openstreetmap.org/copyright\">ODbL</a>"
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "osm:osm",
"opacity": 1,
"title": "OSM Bright",
"thumbURL": "product/assets/img/osm-bright.jpg",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"visibility": true,
"singleTile": false,
"credits": {
"title": "OSM Bright | Rendering <a href=\"https://www.geo-solutions.it/\">GeoSolutions</a> | Data © <a href=\"http://www.openstreetmap.org/\">OpenStreetMap</a> contributors, <a href=\"http://www.openstreetmap.org/copyright\">ODbL</a>"
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "ne:ne-political",
"opacity": 1,
"title": "NE Political",
"thumbURL": "product/assets/img/ne-political.jpg",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"visibility": false,
"singleTile": false,
"credits": {
"title": "<p></p>\n"
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "s2cloudless:s2cloudless",
"opacity": 1,
"title": "Sentinel 2 Cloudless",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"source": "s2cloudless",
"singleTile": false,
"visibility": false
}, {
"type": "osm",
"title": "Open Street Map",
"name": "mapnik",
"source": "osm",
"group": "background",
"visibility": false
}, {
"source": "ol",
"group": "background",
"title": "Empty Background",
"fixed": true,
"type": "empty",
"visibility": false
}
}, {
"format": "image/jpeg",
"group": "background",
"name": "s2cloudless:s2cloudless",
"opacity": 1,
"title": "Sentinel 2 Cloudless",
"type": "wms",
"url": [
"https://maps1.geosolutionsgroup.com/geoserver/wms",
"https://maps2.geosolutionsgroup.com/geoserver/wms",
"https://maps3.geosolutionsgroup.com/geoserver/wms",
"https://maps4.geosolutionsgroup.com/geoserver/wms",
"https://maps5.geosolutionsgroup.com/geoserver/wms",
"https://maps6.geosolutionsgroup.com/geoserver/wms"
],
"source": "s2cloudless",
"singleTile": false,
"visibility": false
}, {
"type": "osm",
"title": "Open Street Map",
"name": "mapnik",
"source": "osm",
"group": "background",
"visibility": false
}, {
"source": "ol",
"group": "background",
"title": "Empty Background",
"fixed": true,
"type": "empty",
"visibility": false
}
]
}
]
}
}
}
},
Expand Down
4 changes: 2 additions & 2 deletions web/client/configs/new.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
20037508.34, 20037508.34
],
"layers": [
{
{
"format": "image/jpeg",
"group": "background",
"name": "osm:osm_simple_light",
Expand Down Expand Up @@ -128,5 +128,5 @@
"visibility": false
}
]
}
}
}

0 comments on commit e15480a

Please sign in to comment.