레이어 관리 api 추가
This commit is contained in:
@@ -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() {}
|
||||
|
||||
@@ -58,6 +58,7 @@ public class WmtsService {
|
||||
*
|
||||
* @param dto
|
||||
*/
|
||||
@Transactional
|
||||
public void save(WmtsAddReqDto dto) {
|
||||
// 선택한 tile 상세정보 조회
|
||||
WmtsLayerInfo info = getDetail(dto.getTitle());
|
||||
|
||||
Reference in New Issue
Block a user