Update 03-L.TorqueLayer.md
This commit is contained in:
parent
72faba5cb7
commit
9d76b2d4fd
@ -1,4 +1,4 @@
|
|||||||
### L.TorqueLayer
|
## L.TorqueLayer
|
||||||
|
|
||||||
A layer to be added to a Leaflet map. It works as a regular tiled layer within the Leaflet tile pane, but instead of containing `<img>` elements, it's composed of a single [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) where all markers are drawn.
|
A layer to be added to a Leaflet map. It works as a regular tiled layer within the Leaflet tile pane, but instead of containing `<img>` elements, it's composed of a single [`<canvas>`](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) where all markers are drawn.
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ var torqueLayer = new L.TorqueLayer({
|
|||||||
map.addLayer(torqueLayer);
|
map.addLayer(torqueLayer);
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Options
|
### Options
|
||||||
|
|
||||||
Name | Description
|
Name | Description
|
||||||
--- | ---
|
--- | ---
|
||||||
|
Loading…
Reference in New Issue
Block a user