(props: any)
| 14 | export default class MapKml extends React.Component<any, any> { |
| 15 | map: any; |
| 16 | constructor(props: any) { |
| 17 | super(props); |
| 18 | |
| 19 | this.state = { |
| 20 | region: { |
| 21 | latitude: LATITUDE, |
| 22 | longitude: LONGITUDE, |
| 23 | latitudeDelta: LATITUDE_DELTA, |
| 24 | longitudeDelta: LONGITUDE_DELTA, |
| 25 | }, |
| 26 | }; |
| 27 | |
| 28 | this.onKmlReady = this.onKmlReady.bind(this); |
| 29 | } |
| 30 | |
| 31 | onKmlReady() { |
| 32 | this.map.fitToElements({animated: true}); |
nothing calls this directly
no outgoing calls
no test coverage detected