{"repo":"pavel-corsaghin/react-native-leaflet","free":true,"listed":false,"github":"https://github.com/pavel-corsaghin/react-native-leaflet","clone":"git clone https://github.com/pavel-corsaghin/react-native-leaflet.git","description":"A LeafletView component using WebView and Leaflet map for React Native applications","language":"HTML","stars":164,"topics":["leaflet","leaflet-map","react-native"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-leaflet A LeafletView component using WebView and Leaflet map for React Native applications Notes: This project is replacement for https://github.com/reggie3/react-native-webview-leaflet, which no longer maintain by author and work only with expo. Installation Install using npm or yarn like this: or react-native configuration This package is required for proper file handling and WebView functionality in React Native: - react-native-webview. You can install it using yarn or npm: or Expo configuration For Expo projects, you'll need to add additional dependencies: These packages are required for proper file handling and WebView functionality in Expo: - react-native-webview docs - expo-asset docs - expo-file-system docs You need to do this in the root of your project: Copy the required HTML file from the package with this one-liner Usage with react-native-cli Usage with Expo Props property required type purpose ------------------- -------- ------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- loadingIndicator optional React.ReactElement custom component displayed while the map is loading onError optional function Will receive an error event onLoadEnd optional function Called when map stops loading onLoadStart optional function Called when the map starts to load onMessageReceived requi","default_branch":null,"files":null,"tree":[],"storefront":"/r/pavel-corsaghin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pavel-corsaghin/react-native-leaflet/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}