react-native-leaflet-kit 1.0.0 → 1.0.1
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 +7 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -290,10 +290,15 @@ Defines a specific area or boundary.
|
|
|
290
290
|
| `fillColor` | `string` | Fill color. |
|
|
291
291
|
|
|
292
292
|
**Example:**
|
|
293
|
+
```tsx
|
|
294
|
+
<Polygon
|
|
295
|
+
id="danger-area"
|
|
296
|
+
positions={dangerAreaCoordinates}
|
|
297
|
+
color="blue"
|
|
298
|
+
fillColor="rgba(0, 0, 255, 0.2)"
|
|
299
|
+
/>
|
|
293
300
|
```
|
|
294
301
|
|
|
295
|
-
---
|
|
296
|
-
|
|
297
302
|
### 9. `<GeoJSON />`
|
|
298
303
|
The standard for complex spatial data. Renders entire datasets (lines, points, polygons) from a single JSON.
|
|
299
304
|
|
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.1",
|
|
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",
|
|
@@ -49,4 +49,4 @@
|
|
|
49
49
|
"url": "https://github.com/ashishpradhan01/react-native-leaflet-kit/issues"
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/ashishpradhan01/react-native-leaflet-kit#readme"
|
|
52
|
-
}
|
|
52
|
+
}
|