국유인의타입추가
This commit is contained in:
@@ -13,7 +13,10 @@ public enum LayerType implements EnumType {
|
||||
TILE("배경지도"),
|
||||
GEOJSON("객체데이터"),
|
||||
WMTS("타일레이어"),
|
||||
WMS("지적도");
|
||||
WMS("지적도")
|
||||
, KAMCO_WMS("국유인WMS")
|
||||
, KAMCO_WMTS("국유인WMTS")
|
||||
;
|
||||
|
||||
private final String desc;
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ public class LayerService {
|
||||
.orElseThrow(() -> new CustomApiException("BAD_REQUEST", HttpStatus.BAD_REQUEST));
|
||||
|
||||
switch (layerType) {
|
||||
case TILE -> {
|
||||
case TILE, KAMCO_WMS, KAMCO_WMTS -> {
|
||||
return mapLayerCoreService.saveTile(dto);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user