공지사항: 새로운 기본 지도 스타일이 곧 Google Maps Platform에 제공될 예정입니다. 이 지도 스타일 지정 업데이트에는 새로운 기본 색상 팔레트, 현대화된 핀, 지도 환경 및 사용성 개선사항이 포함됩니다. 모든 지도 스타일이 2025년 3월에 자동으로 업데이트됩니다. 사용 가능 여부 및 더 일찍 선택하는 방법에 대한 자세한 내용은 Google Maps Platform용 새로운 지도 스타일을 참고하세요.
이러한 유형에는 일반적으로 알파 또는 베타 버전의 속성, 함수 또는 클래스가 없습니다. 이러한 경우 대부분 객체를 적절한 유형으로 캐스팅할 수 있습니다.
다음 오류는 MapOptions의 mapId 베타 속성으로 인해 발생합니다.
error TS2345: Argument of type '{ center: google.maps.LatLng; zoom: number;
mapId: string; }' is not assignable to parameter of type 'MapOptions'. Object
literal may only specify known properties, and 'mapId' does not exist in type
'MapOptions'.
[[["이해하기 쉬움","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-01-14(UTC)"],[[["TypeScript can enhance Google Maps development by providing static typing and improved code maintainability."],["Use the `@types/google.maps` package from DefinitelyTyped for TypeScript support in your Google Maps projects."],["Alpha and beta Google Maps features may require type casting to avoid TypeScript errors."],["In case of conflicting type definitions, consider utilizing the `skipLibCheck` compiler option to bypass type checking of external libraries."],["When necessary, configure `typeRoots` in your TypeScript configuration to ensure proper inclusion of Google Maps type definitions."]]],[]]