-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add blank docs for each supported custom element
- Loading branch information
1 parent
478d549
commit 1f7c706
Showing
13 changed files
with
473 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "Base layers" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "Control layers" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "DivIcon" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "GeoJSON" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
+++ | ||
title = "Icon" | ||
+++ | ||
|
||
HTML equivalent to `L.icon` function. | ||
Can be a child of `l-map` or `l-layer-group` elements. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
<l-icon icon-url="/icon.png"></l-icon> | ||
``` | ||
|
||
```html | ||
<l-icon | ||
icon-url="/icons/leaf-green.png" | ||
shadow-url="/icons/leaf-shadow.png" | ||
icon-size="[38, 95]" | ||
shadow-size="[50, 64]" | ||
icon-anchor="[22, 94]" | ||
shadow-anchor="[4, 62]" | ||
popup-anchor="[-3, -76]" | ||
></l-icon> | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| icon-url | image.png | URL to define icon image | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| opacity | number | 1.0 | | ||
| icon | string | JSON options to `setIcon` method | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| l:layer:connected | | Triggered when connected to the document | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "LatLngBounds" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
+++ | ||
title = "Marker" | ||
+++ | ||
|
||
HTML equivalent to `L.marker` function. | ||
Can be a child of `l-map` or `l-layer-group` elements. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
<l-marker lat-lng="[0,0]"></l-marker> | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| lat-lng | [45, 45] | LatLng position to define location | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| opacity | number | 1.0 | | ||
| icon | string | JSON options to `setIcon` method | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| l:layer:connected | | Triggered when connected to the document | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "Overlay layers" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "DivIcon" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
+++ | ||
title = "DivIcon" | ||
+++ | ||
|
||
HTML equivalent to `L.` function. | ||
|
||
## Example | ||
|
||
A standard way to initialise. | ||
|
||
```html | ||
``` | ||
|
||
## Parameters | ||
|
||
Mandatory HTML properties to successfully instantiate. | ||
|
||
| Attribute | Example | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Properties | ||
|
||
| Attribute | Type | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
## Events | ||
|
||
| Event key | Detail | Description | | ||
| -- | -- | -- | | ||
| | | | | ||
|
||
|
||
|
Oops, something went wrong.