react-native-leaflet
react-native-leaflet copied to clipboard
A LeafletView component using WebView and Leaflet map for React Native applications
Hello, I'm trying a simple example under expo. The leaflet shows up fine when running iOS simulation. However, when I launch the web simulation, I obtain the following error: ./node_modules/react-native-leaflet-view/lib/module/LeafletView/index.js:22:7...
Please, how can I get onMapClicked event data to dynamically change the position of the marker according to the user's click on the screen over the map?
I want use leatlet in react-native app for Non-map base layers, it should use[ third part plugins](https://leafletjs.com/plugins.html#non-map-base-layers) and need add new post message code , so how can I update...
Hi All, I reed the documentation but i can't find a way to change the CRS to Simple. I need to use an Image as background and i have to...
How to enable CRS.Simple?
Are there built-in layers in this library? I want to use satellite tiles in my app. Also, I can't find any examples of how to use map Props.
i used types.ts/interface try to extend interface geoJson can not show in expo types.ts export interface GeoJson{ data: L.GeoJSON; pointToLayer?: (point: GeoJSONdata, latlng: LatLng) => Layer; style?: (feature: GeoJSONdata) =>...
./node_modules/react-native-leaflet-view/lib/module/LeafletView/index.js:22:7 Module not found: Can't resolve '../../android/src/main/assets/leaflet.html' 20 | 21 | const LEAFLET_HTML_SOURCE = Platform.select({ > 22 | ios: require('../../android/src/main/assets/leaflet.html'), | ^ 23 | android: { uri: 'file:///android_asset/leaflet.html' }, 24...
Hi, thank you so much for picking up RN Leaflet! I see that for a start there is now a prebuilt HTML doc for the WebView; do you have plans...
When testing the application using Expo Go, the map displays correctly. However, after building and installing the APK, the map appears gray. This issue only occurs in the APK version...