Created
November 5, 2019 05:09
-
-
Save owlfox/fa80e0398590d537062322e849163601 to your computer and use it in GitHub Desktop.
terria.js catalog example file with a Taiwan wms service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"corsDomains": [], | |
"homeCamera": { | |
"north": 25, | |
"east": 122, | |
"south": 21.5, | |
"west": 120 | |
}, | |
"baseMapName": "Australian Topography", | |
"initialViewerMode": "3dSmooth", | |
"services": [], | |
"catalog": [ | |
{ | |
"name": "範例資料集", | |
"type": "group", | |
"preserveOrder": true, | |
"isOpen": true, | |
"items": [ | |
{ | |
"name": "ABC Photo Stories (2009-2014)", | |
"description": "Australia Broadcasting Company stories from 2009-2014 with accompanying photos.\n\nThis dataset demonstrates the ability to show users a custom feature info panel when they click on a feature on the map.", | |
"type": "csv", | |
"url": "test/localphotostories20092014.csv", | |
"featureInfoTemplate": { | |
"template": "<div class='abc'><small>{{Date}}</small>{{#Primary image}}<figure><img src='{{Primary image}}'/><figcaption>{{Primary image caption}}</figcaption></figure>{{/Primary image}}<p><a target='_blank' href={{URL}}>Read More</a></div>" | |
}, | |
"tableStyle": { | |
"dataVariable": "State", | |
"timeColumn": null | |
} | |
}, | |
{ | |
"name": "地政司 縣(市)行政區域界線(臺灣本島地區)", | |
"description": "TBD", | |
"dataCustodian": "TBD", | |
"url": "http://ogcmap.tgos.nat.gov.tw/35123/SimpleWMS.aspx", | |
"layers": "city", | |
"type": "wms" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment