Commit 8e74273f authored by Qiu Xiang's avatar Qiu Xiang

修正 README

parent f4a53798
...@@ -83,7 +83,7 @@ import MapView from 'react-native-amap3d' ...@@ -83,7 +83,7 @@ import MapView from 'react-native-amap3d'
```jsx ```jsx
<MapView <MapView
locationEnabled locationEnabled
onLocationChange={({nativeEvent}) => onLocation={({nativeEvent}) =>
console.log(`${nativeEvent.latitude}, ${nativeEvent.longitude}`)} console.log(`${nativeEvent.latitude}, ${nativeEvent.longitude}`)}
/> />
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment