pa help po bakit ayaw mag render ng map sa mobile?
ito po code ko sa map
import React from "react";
import { StyleSheet, Text, View } from "react-native";
import { MapView } from "expo";
export default class App extends React.Component {
render() {
return (
<MapView
style={{
flex: 1
}}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421
}}
/>
);
}
}
ito po code ko sa map
import React from "react";
import { StyleSheet, Text, View } from "react-native";
import { MapView } from "expo";
export default class App extends React.Component {
render() {
return (
<MapView
style={{
flex: 1
}}
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421
}}
/>
);
}
}
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.