We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a3b3f commit 8b78e2aCopy full SHA for 8b78e2a
example/src/App.tsx
@@ -20,8 +20,15 @@ export default function App() {
20
};
21
const toner =
22
'https://api.maptiler.com/maps/toner-v2/{z}/{x}/{y}.png?key=j46yoHMlBMQRgTY3lCMk';
23
+
24
return (
- <MapView style={styles.container} initialRegion={initialRegion}>
25
+ <MapView
26
+ onRegionChange={(region) => {
27
+ console.log('🚀 ~ file: App.tsx:88 ~ App ~ region', region);
28
+ }}
29
+ style={styles.container}
30
+ initialRegion={initialRegion}
31
+ >
32
<Marker
33
coordinate={{
34
latitude: 55.75222,
0 commit comments