diff --git a/src/app/menupanel/layerpanel/layerpanel.component.html b/src/app/menupanel/layerpanel/layerpanel.component.html index eb088fb94..d8898a199 100644 --- a/src/app/menupanel/layerpanel/layerpanel.component.html +++ b/src/app/menupanel/layerpanel/layerpanel.component.html @@ -58,7 +58,7 @@
diff --git a/src/app/menupanel/layerpanel/layerpanel.component.ts b/src/app/menupanel/layerpanel/layerpanel.component.ts index cfbf3bb2d..1a536f9fa 100644 --- a/src/app/menupanel/layerpanel/layerpanel.component.ts +++ b/src/app/menupanel/layerpanel/layerpanel.component.ts @@ -70,7 +70,14 @@ export class LayerPanelComponent implements OnInit { } } } - + /** + * Check to see if a layer is supported to be added to the map + * @param layer layer to check + * @returns true if supported layer, false otherwise + */ + public isMapSupportedLayer(layer: LayerModel): boolean { + return this.csMapService.isMapSupportedLayer(layer); + } /** * Check if a LayerModel contains a filter collection that has an optional filter of type "OPTIONAL.POLYGONBBOX" * @param layer the LayerModel