Update 03-L.TorqueLayer.md

This commit is contained in:
Iñigo Medina 2018-04-13 10:56:24 +02:00 committed by GitHub
parent 72faba5cb7
commit 9d76b2d4fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
--- | --- --- | ---