react-native-leaflet-kit 1.0.2 β 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# React Native Leaflet Kit πΊοΈ
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/react-native-leaflet-kit)
|
|
4
|
+
[](https://www.npmjs.com/package/react-native-leaflet-kit)
|
|
5
|
+
[](https://github.com/ashishpradhan01/react-native-leaflet-kit/blob/main/LICENSE)
|
|
6
|
+
[](https://www.typescriptlang.org/)
|
|
7
|
+
|
|
3
8
|
A professional, pluggable, and declarative Map library for React Native built on top of Leaflet, WebView, and OpenStreetMap tiles. Designed with a Compound Component pattern for maximum flexibility and performance.
|
|
4
9
|
|
|
5
10
|
## β¨ Features
|
|
@@ -30,7 +35,7 @@ yarn add react-native-leaflet-kit react-native-webview
|
|
|
30
35
|
Wrap your map elements inside the `MapContainer` and add layers as needed.
|
|
31
36
|
|
|
32
37
|
```tsx
|
|
33
|
-
import { MapContainer, TileLayer, Marker, Polyline } from '
|
|
38
|
+
import { MapContainer, TileLayer, Marker, Polyline } from 'react-native-leaflet-kit';
|
|
34
39
|
|
|
35
40
|
const MyMap = () => {
|
|
36
41
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-leaflet-kit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "A professional, pluggable, and declarative Map library for React Native built on top of Leaflet, WebView, and OpenStreetMap tiles",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|