Commit e150ea10 authored by Qiu Xiang's avatar Qiu Xiang

调整命名

parent f3129740
...@@ -3,7 +3,7 @@ import {StyleSheet, Switch, Text, View} from 'react-native' ...@@ -3,7 +3,7 @@ import {StyleSheet, Switch, Text, View} from 'react-native'
import MapView from 'react-native-amap3d' import MapView from 'react-native-amap3d'
import styles from '../styles' import styles from '../styles'
export default class Controls extends Component { export default class ControlsExample extends Component {
static navigationOptions = { static navigationOptions = {
title: '地图控件', title: '地图控件',
} }
......
...@@ -7,7 +7,7 @@ import { ...@@ -7,7 +7,7 @@ import {
} from 'react-native' } from 'react-native'
import MapView from 'react-native-amap3d' import MapView from 'react-native-amap3d'
export default class Events extends Component { export default class EventsExample extends Component {
static navigationOptions = { static navigationOptions = {
title: '地图事件', title: '地图事件',
} }
......
...@@ -3,7 +3,7 @@ import {StyleSheet, View, Text, Switch} from 'react-native' ...@@ -3,7 +3,7 @@ import {StyleSheet, View, Text, Switch} from 'react-native'
import MapView from 'react-native-amap3d' import MapView from 'react-native-amap3d'
import styles from '../styles' import styles from '../styles'
export default class Gestures extends Component { export default class GesturesExample extends Component {
static navigationOptions = { static navigationOptions = {
title: '手势交互', title: '手势交互',
} }
......
...@@ -2,7 +2,7 @@ import React, {Component} from 'react' ...@@ -2,7 +2,7 @@ import React, {Component} from 'react'
import {StyleSheet} from 'react-native' import {StyleSheet} from 'react-native'
import MapView from 'react-native-amap3d' import MapView from 'react-native-amap3d'
export default class Indoor extends Component { export default class IndoorExample extends Component {
static navigationOptions = { static navigationOptions = {
title: '室内地图', title: '室内地图',
} }
......
...@@ -2,7 +2,7 @@ import React, {Component} from 'react' ...@@ -2,7 +2,7 @@ import React, {Component} from 'react'
import {StyleSheet, Picker} from 'react-native' import {StyleSheet, Picker} from 'react-native'
import MapView from 'react-native-amap3d' import MapView from 'react-native-amap3d'
export default class MapTypes extends Component { export default class MapTypesExample extends Component {
static navigationOptions = ({navigation}) => { static navigationOptions = ({navigation}) => {
const {state, setParams} = navigation const {state, setParams} = navigation
state.params = state.params || {mapType: 'standard'} state.params = state.params || {mapType: 'standard'}
......
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