Closed t83714 closed 3 years ago
We should support render select lay from WMS service. see here:
https://github.com/magda-io/magda-preview-map/blob/f93606d705269e4652cbae5b53ff575bb7f798d9/lib/Models/MagdaCatalogItem.js#L494
Required changes for this terria map instance are:
layerName
Please note: by default, terriajs v7 set layerName to WMS item's layers field: https://github.com/TerriaJS/terriajs/blob/7569485af9d965c999a2a512ddd02e2f722f3687/lib/Models/WebMapServiceCatalogGroup.js#L371
layers
FeatureType selection:
closed via PR: https://github.com/magda-io/magda-preview-map/pull/13
Support Select Layer for WMS Preview
We should support render select lay from WMS service. see here:
https://github.com/magda-io/magda-preview-map/blob/f93606d705269e4652cbae5b53ff575bb7f798d9/lib/Models/MagdaCatalogItem.js#L494
Required changes for this terria map instance are:
layerName
property on MagdaCatalogItemlayerName
presents, return WMS item match the layerName.Sample