README.md

This commit is contained in:
Pablo Alonso Garcia 2017-06-07 11:34:49 +02:00
parent ae5afddba7
commit c998860ad3

View File

@ -29,7 +29,6 @@ The simplest way to use a visualization with Torque is...
... ...
<body> <body>
<div id="map"></div> <div id="map"></div>
</body>
... ...
<script> <script>
// define the torque layer style using cartocss // define the torque layer style using cartocss
@ -76,6 +75,7 @@ The simplest way to use a visualization with Torque is...
torqueLayer.addTo(map); torqueLayer.addTo(map);
torqueLayer.play() torqueLayer.play()
</script> </script>
</body>
``` ```
[Grab the complete example source code](https://github.com/CartoDB/torque/blob/master/examples/navy_leaflet.html) [Grab the complete example source code](https://github.com/CartoDB/torque/blob/master/examples/navy_leaflet.html)