레이어 관리 api 추가

This commit is contained in:
2026-01-27 21:14:12 +09:00
parent 1b6ed5e4cf
commit 7a932acd25
4 changed files with 34 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
package com.kamco.cd.kamcoback.layer.dto;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.ArrayList;
import java.util.List;
@@ -16,10 +17,6 @@ public class WmtsLayerInfo {
public List<ResourceUrl> resourceUrls = new ArrayList<>();
public List<Style> styles = new ArrayList<>();
public void setIdentifier(String identifier) {
this.identifier = identifier;
}
public void setTitle(String title) {
this.title = title;
}
@@ -225,6 +222,8 @@ public class WmtsLayerInfo {
private String identifier;
private String title;
@JsonProperty("default")
private boolean isDefault;
public Style() {}

View File

@@ -58,6 +58,7 @@ public class WmtsService {
*
* @param dto
*/
@Transactional
public void save(WmtsAddReqDto dto) {
// 선택한 tile 상세정보 조회
WmtsLayerInfo info = getDetail(dto.getTitle());