NationwideOrthoImageryProvider

new Ditap.NationwideOrthoImageryProvider(options)

다이탭 국내 정사영상 이미지 제공 클래스.
Class providing nation orthophoto imagery in DiTAP.
Name Type Description
options object 다음과 같은 속성을 가진 객체.
Object with the following properties:
Name Type Description
baseUrl string 지도 이미를 요청할 기본 URL. 지정되지 않은 경우 다이탭 리소스 기본 URL을 사용. 예시) http://resource.heliosen.co.kr
The base URL to request the map imagery. If not specified, the Ditap resource base URL is used. e.g.) http://resource.heliosen.co.kr
Example:
// DitapViewer 생성
  const viewer = new Ditap.DitapViewer("ditapContainer", {
    baseLayerPicker: true,
  });

  // DitapBaseLayerPicker 인스턴스 생성
  const ditapBaseLayerPicker = viewer.ditapBaseLayerPicker;

  const ditapImageryProvider = new Ditap.ProviderViewModel({
    name: "Ditap Korea Map",
    iconUrl: getUrlFromBase64(
      Ditap.ConstantUrl.DITAP_MAP_IMG_URL
    ),
    tooltip: "Ditap Korea Map",
    category: "Other",
    creationFunction: function () {
      return new Ditap.NationwideOrthoImageryProvider();
    },
  });
  
  ditapBaseLayerPicker.viewModel.selectedImagery = ditapImageryProvider;