You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/components/introduction.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,8 @@
2
2
outline: deep
3
3
---
4
4
5
-
::: warning
6
-
Further documentation for these components was mostly copied from the [Vue2 Leaflet Documentation](https://vue2-leaflet.netlify.app/components/) and [Vue Leaflet Demo](https://github.com/vue-leaflet/vue-leaflet/tree/master/src/playground/views).
7
-
8
-
This still needs better documentation and examples.
5
+
::: info
6
+
Further documentation for these components was highly inspired from [Vue2 Leaflet Documentation](https://vue2-leaflet.netlify.app/components/), [Vue Leaflet Demo](https://github.com/vue-leaflet/vue-leaflet/tree/master/src/playground/views) and the original [Leaflet Documentation](https://leafletjs.com/).
9
7
10
8
If you find any errors, please open an issue on the [GitHub repository](https://github.com/gugustinette/Nuxt-Leaflet).
11
9
Props and events can be verified by looking at the [vue-leaflet components](https://github.com/vue-leaflet/vue-leaflet/tree/master/src/components).
| radius | Radius of the marker in pixels | Number | true | 10 |
52
+
| latLng | Latitude and longitude of the marker | object\|array as [L.LatLngExpression](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/45d34da16d9556b29be0469dbb66337735690feb/types/leaflet/v0/index.d.ts#L4)| true |[0, 0]|
| radius | Radius of the circle, in meters | Number | true | - |
54
+
| latLng | Latitude and longitude of the marker | object\|array as [L.LatLngExpression](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/45d34da16d9556b29be0469dbb66337735690feb/types/leaflet/v0/index.d.ts#L4)| true |[0, 0]|
| opacity | Opacity of the tiles | Number | - | 1.0 |
85
-
| zIndex | The explicit zIndex of the tile layer | Number | - | 1 |
86
-
| tileSize | Width and height of tiles in the grid. Use a number if width and height are equal, or `L.point(width, height)` otherwise. | Number\|L.Point | - | 256 |
87
-
| noWrap | Whether the layer is wrapped around the antimeridian. If true, the GridLayer will only be displayed once at low zoom levels. Has no effect when the [map CRS](https://leafletjs.com/reference.html#map-crs) doesn't wrap around. | Boolean | - | false |
88
-
| childRender || Function | true | * |
89
-
| minZoom | The minimum zoom level down to which this layer will be displayed (inclusive) | Number | - | undefined |
90
-
| maxZoom | The maximum zoom level up to which this layer will be displayed (inclusive) | Number | - | undefined |
91
-
| className | A custom class name to assign to the tile layer. Empty by default. | String | - | '' |
| iconUrl | The URL to the icon image (absolute or relative to your script path) | String | true | null |
133
+
| iconRetinaUrl | The URL to a retina sized version of the icon image (absolute or relative to your script path). Used for Retina screen devices. | String | - | null |
134
+
| iconSize | Size of the icon image in pixels | Object\|Array as [L.PointExpression](https://leafletjs.com/reference.html#point)| - | null |
135
+
| iconAnchor | The coordinates of the "tip" of the icon (relative to its top left corner). The icon will be aligned so that this point is at the marker's geographical location. Centered by default if size is specified, also can be set in CSS with negative margins. | Object\|Array as [L.PointExpression](https://leafletjs.com/reference.html#point)| - | null |
136
+
| popupAnchor | The coordinates of the point from which popups will "open", relative to the icon anchor | Object\|Array as [L.PointExpression](https://leafletjs.com/reference.html#point)| - |[0, 0]|
137
+
| tooltipAnchor | The coordinates of the point from which tooltips will "open", relative to the icon anchor | Object\|Array as [L.PointExpression](https://leafletjs.com/reference.html#point)| - |[0, 0]|
138
+
| shadowUrl | The URL to the icon shadow image. If not specified, no shadow image will be created | String | - | null |
139
+
| shadowRetinaUrl || String | - | null |
140
+
| shadowSize | Size of the shadow image in pixels | Object\|Array as [L.PointExpression](https://leafletjs.com/reference.html#point)| - | null |
141
+
| shadowAnchor | The coordinates of the "tip" of the shadow (relative to its top left corner) (the same as iconAnchor if not specified) | Object\|Array as [L.PointExpression](https://leafletjs.com/reference.html#point)| - | null |
142
+
| bgPos || Object\|Array as [L.PointExpression](https://leafletjs.com/reference.html#point)| - |[0, 0]|
143
+
| className | A custom class name to assign to both icon and shadow images. Empty by default. | String | - | '' |
0 commit comments