From 33491539eb44ea438c8374eb787b32be6ca6ffaa Mon Sep 17 00:00:00 2001 From: Kwonkunkun Date: Sun, 18 Sep 2022 17:27:58 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=A8=EC=88=98=20return=20type=20=EC=A4=91?= =?UTF-8?q?=20=EC=9E=98=EB=AA=BB=EB=90=9C=20=EA=B0=92=20=EC=88=98=EC=A0=95?= =?UTF-8?q?:=20contentsRegion=20->=20contentRegion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - NaverMapViewProps의 onCameraChange return 값 - NaverMapView class의 handleOnCameraChange return 값 --- README.md | 2 +- example/map/index.d.ts | 4 ++-- index.d.ts | 4 ++-- index.tsx | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5da4bb8c..ab4e6a1f 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ interface NaverMapViewProps { latitude: number; longitude: number; zoom: number; - contentsRegion: [Coord, Coord, Coord, Coord, Coord]; // https://navermaps.github.io/android-map-sdk/reference/com/naver/maps/map/NaverMap.html#getContentRegion() + contentRegion: [Coord, Coord, Coord, Coord, Coord]; // https://navermaps.github.io/android-map-sdk/reference/com/naver/maps/map/NaverMap.html#getContentRegion() coveringRegion: [Coord, Coord, Coord, Coord, Coord]; }) => void; onMapClick?: (event: { diff --git a/example/map/index.d.ts b/example/map/index.d.ts index d1f4741c..ce8b478a 100644 --- a/example/map/index.d.ts +++ b/example/map/index.d.ts @@ -78,7 +78,7 @@ export interface NaverMapViewProps { latitude: number; longitude: number; zoom: number; - contentsRegion: [Coord, Coord, Coord, Coord, Coord]; + contentRegion: [Coord, Coord, Coord, Coord, Coord]; coveringRegion: [Coord, Coord, Coord, Coord, Coord]; }) => void; onMapClick?: (event: { @@ -126,7 +126,7 @@ export default class NaverMapView extends Component { latitude: number; longitude: number; zoom: number; - contentsRegion: [Coord, Coord, Coord, Coord, Coord]; + contentRegion: [Coord, Coord, Coord, Coord, Coord]; coveringRegion: [Coord, Coord, Coord, Coord, Coord]; }>) => void; handleOnMapClick: (event: React.SyntheticEvent<{}, { diff --git a/index.d.ts b/index.d.ts index d1f4741c..ce8b478a 100644 --- a/index.d.ts +++ b/index.d.ts @@ -78,7 +78,7 @@ export interface NaverMapViewProps { latitude: number; longitude: number; zoom: number; - contentsRegion: [Coord, Coord, Coord, Coord, Coord]; + contentRegion: [Coord, Coord, Coord, Coord, Coord]; coveringRegion: [Coord, Coord, Coord, Coord, Coord]; }) => void; onMapClick?: (event: { @@ -126,7 +126,7 @@ export default class NaverMapView extends Component { latitude: number; longitude: number; zoom: number; - contentsRegion: [Coord, Coord, Coord, Coord, Coord]; + contentRegion: [Coord, Coord, Coord, Coord, Coord]; coveringRegion: [Coord, Coord, Coord, Coord, Coord]; }>) => void; handleOnMapClick: (event: React.SyntheticEvent<{}, { diff --git a/index.tsx b/index.tsx index 8e7b72b0..83227339 100644 --- a/index.tsx +++ b/index.tsx @@ -93,7 +93,7 @@ export interface NaverMapViewProps { latitude: number; longitude: number; zoom: number; - contentsRegion: [Coord, Coord, Coord, Coord, Coord]; + contentRegion: [Coord, Coord, Coord, Coord, Coord]; coveringRegion: [Coord, Coord, Coord, Coord, Coord]; }) => void; onMapClick?: (event: { @@ -177,7 +177,7 @@ export default class NaverMapView extends Component { latitude: number; longitude: number; zoom: number; - contentsRegion: [Coord, Coord, Coord, Coord, Coord]; + contentRegion: [Coord, Coord, Coord, Coord, Coord]; coveringRegion: [Coord, Coord, Coord, Coord, Coord]; }>) => this.props.onCameraChange && this.props.onCameraChange(event.nativeEvent);