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);