레이어는 하나 이상의 별개 항목으로 구성된 지도상의 객체이지만 단일 단위로 조작할 수 있습니다. 일반적으로 레이어는 지도 위에 추가한 객체의 모음을 반영하여 공통된 연관 관계를 지정합니다. Maps JavaScript API는 구성 항목을 하나의 객체(일반적으로 타일 오버레이)로 렌더링하고 지도의 표시 영역이 변경되면 객체를 표시하여 레이어 내 객체의 표시를 관리합니다. 또한 레이어는 레이어와 일치하는 방식으로 기본 타일을 약간 변경하여 지도 자체의 표시 레이어를 변경할 수도 있습니다. 대부분의 레이어는 개별 객체를 통해 액세스할 수 없도록 설계되었지만 하나의 단위로만 조작할 수 있습니다.
레이어 개요
Maps JavaScript API에는 다음과 같은 여러 유형의 레이어가 있습니다.
Google 지도 데이터 레이어는 임의의 지리 공간 데이터를 위한 컨테이너를 제공합니다.
데이터 레이어를 사용하여 맞춤 데이터를 저장하거나 Google 지도에 GeoJSON 데이터를 표시할 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-05-08(UTC)"],[[["Layers in Maps JavaScript API are objects consisting of multiple items that are treated as a single unit and often represent collections of objects on the map."],["The API provides various layer types, including Data, Heatmap, KML, Traffic, Transit, and Bicycling layers, each serving a distinct purpose for displaying geospatial data."],["You can easily add or hide a layer by calling the `setMap()` method, providing the map object or `null` respectively."],["The example code demonstrates adding a Transit layer to a map centered on London."]]],[]]