Commit Graph

253 Commits

Author SHA1 Message Date
Raul Ochoa
7463b461e6 Export providers 2014-12-09 16:12:38 +01:00
Raul Ochoa
7d3d325d7a Move providers to their own directory 2014-12-09 16:07:26 +01:00
Raul Ochoa
d6a1d5d808 Makes carto dependency explicit 2014-12-09 16:00:41 +01:00
Raul Ochoa
022d46b56b Export request 2014-12-09 16:00:18 +01:00
Raul Ochoa
ee4f600da5 Replace window with global 2014-12-09 15:58:27 +01:00
Raul Ochoa
02da984769 Export mechanism for core 2014-12-09 15:57:54 +01:00
Raul Ochoa
41e9db8235 Changes export mechanism 2014-12-09 15:55:52 +01:00
Raul Ochoa
cf0143455f Make extend compatible with underscore's one 2014-12-09 15:50:27 +01:00
Raul Ochoa
e8634abc0d Replace underscore defaults/extend with torque ones 2014-12-09 15:42:05 +01:00
javi
6d993c7a87 limit the canvas bounds is rendered so firefox does not raise an exception, fix #61 2014-12-03 10:19:36 +01:00
Nicklas Gummesson
ccef5e232c Added invalidate method to L.TorqueLayer 2014-11-21 11:34:26 +01:00
javi
84046c131e added play, pause and stop events, closes #53 2014-11-01 17:37:07 +01:00
javi
32e9922f48 added dynamic_cdn option 2014-10-24 16:50:53 +02:00
javi
4df45fb5b6 don't use dump to images when using safari 2014-10-21 17:15:56 +02:00
javi
42f041a02e added support for dynamic callback generation for jsonp 2014-10-21 17:15:27 +02:00
javi
7ddd7652fe no render when maker-width = 0 or opacity = 0
there was no way to avoid rendering in some conditions, with this patch the points are not rendered when marker-width or opacity is 0. Thin lines are also not rendered, this avoid to spend extra time rendering them when there are really thin and avoid a safari rendering bug (think lines are rendered wider than they should)
2014-10-19 12:07:41 +02:00
javi
40df882eea fixed stats tag 2014-10-02 09:20:50 +02:00
javi
d8ac079929 removed useless comment 2014-10-02 09:08:04 +02:00
javi
8f101d78fc send stat_tag in the url for windshaft 2014-10-02 09:07:49 +02:00
javi santana
7ea3709bee Merge pull request #46 from CartoDB/interactivity
Interactivity
2014-09-24 12:27:34 +02:00
javi
63858fb051 fixed bounds checking cc @rochoa 2014-09-24 12:07:38 +02:00
javi
8cd8d95e60 added interactivity methods for renderer and leaflet layer 2014-09-24 11:48:10 +02:00
javi
bf514fbc47 support pixel resolution for tile bbox on mercator 2014-09-24 11:47:12 +02:00
javi santana
9fe95831cc Merge pull request #45 from ahocevar/strok-style
Fix typo - remove lines that set strokStyle
2014-09-23 14:44:36 +02:00
javi
1ca2930397 use images to cache sprites instead of canvas, seems more optimal: http://jsperf.com/draw-canvas-vs-draw-image 2014-09-22 18:30:41 +02:00
Andreas Hocevar
dafb951316 Fix typo - remove lines that set strokStyle
Looks like a typo to me, and the strokeStyle is set below conditionally as it should.
2014-09-17 15:58:59 +02:00
javi
1b7cf8f8f7 cache variables for looping 2014-09-17 11:47:08 +02:00
javi
394c8d0466 using a render cache when the map is not being animated
when the map has no animation (for example for static datasets) when the user pans the map it feels pretty slow because torque needs to render all the points again

with this change the tiles are rendered and backed to an offscreen canvas so when the map moves torque does not need to render every point, just flip the image for every tile

Code to clean cache is also added, when the user zooms or a tile is loaded the caches are cleared
2014-09-17 11:28:24 +02:00
javi
ef8b9bb1dd tile size moved to a constant 2014-09-17 11:25:37 +02:00
javi
8cf52da304 per tile back when it's paused 2014-09-09 22:50:10 +02:00
javi
6b70e9e03b missing file, refs #43 2014-08-18 10:55:20 +02:00
javi
48ed932dee added getActivePointsBBox method refs #43 2014-08-14 18:03:04 +02:00
javi
a36d1871ba added no_cdn option no windhsaft provider 2014-07-14 11:19:37 +02:00
javi
b47d0359b0 pass custom torque callback to jsonp in winshft provider 2014-07-12 12:49:31 +02:00
javi
5347593d9d allow custom callback 2014-07-12 12:49:11 +02:00
javi
c805c4cc27 use cdn_url from windshaft when present in the response 2014-07-11 14:37:18 +02:00
Raul Ochoa
59f90aad47 Adds support for several auth_token param 2014-07-07 14:50:48 +02:00
javi
175b25c7b8 fixed updating steps when sql changes in windshaft provider 2014-06-10 17:44:56 +02:00
javi
73c546e192 fixed on method on torque.Event 2014-06-04 11:21:07 +02:00
javi
6662098f48 fixed rectangle renderer #14 2014-06-02 18:05:10 +02:00
javi
91396884a6 fixed rendering when the lineWidth it's a float 2014-04-08 12:07:59 +02:00
javi
afcc3183a9 fixed panBy 2014-03-31 11:42:49 +02:00
javi
0f2bf17a51 defer profiler in order to not send a lot of stats 2014-03-25 11:50:29 +01:00
javi
fd5efd6ce2 fixed animation for leaflet 0.7.x 2014-03-24 14:57:23 +01:00
javi
c7a5799881 pause on zoom 2014-03-21 15:56:38 +01:00
javi
462fea3fd1 added some metrics 2014-03-21 15:56:30 +01:00
javi
bc97babd53 fixed leaflet canvas layer issues with resizing 2014-03-21 15:56:13 +01:00
javi
2d22276bfd fixes problem with leaks on map move 2014-03-21 13:27:04 +01:00
javi
fc09a86e51 supports arraybuffer requests 2014-03-21 12:48:47 +01:00
javi
7e86d58c61 check provider gives setCartoCSS 2014-03-21 12:48:24 +01:00
javi
f6a123667c added zoom animation 2014-03-21 12:47:56 +01:00
javi
6885e69187 Merge branch 'fix_windshaft' 2014-03-11 08:20:09 +01:00
javi
22595ec88c updated setSQL in windshaft provider 2014-03-06 13:01:52 +01:00
javi
e89b1f6513 animation zoom wip 2014-03-06 12:53:18 +01:00
javi
7545fba5e2 include canvas a a normal layer, refs #36 2014-02-28 17:22:04 +01:00
javi
185e7b3991 removed old code 2014-02-28 17:21:43 +01:00
javi
ff972a36b0 generate minimal cartocss, closes #37 2014-02-27 08:16:38 +01:00
javi
8211285a4c fixed windshaft provider with https 2014-02-25 16:04:20 +01:00
javi
6124f735d4 fixed double return 2014-02-25 09:35:28 +01:00
javi
6eb7028a61 fixed cartocss updating for windshaft provider 2014-02-25 09:32:30 +01:00
javi
c3f1918820 improved tile loading 2014-02-25 08:11:16 +01:00
javi
ee5cf66c12 changed date format to fit windshaft response 2014-02-25 07:14:10 +01:00
javi
db80b7df3b Merge branch 'master' of github.com:CartoDB/torque 2014-02-17 14:21:30 +01:00
javi
641b22adad fixed extra commas 2014-02-17 14:21:02 +01:00
Javier Arce
754e31d69f Removes pointer-events from the canvas layer 2014-02-12 11:15:07 +01:00
javi
7dc56f7414 fixed tiles refresh on cartocss update 2014-02-07 13:29:17 +01:00
javi
282be92161 fixed leaflet layer remove 2014-02-07 13:29:07 +01:00
javi
95fcbffefc using final url /api/v1/map 2014-02-06 14:25:47 +01:00
javi
526de286a6 using final urls 2014-02-05 18:45:00 +01:00
javi
9191b4be3b updated urls 2014-02-05 14:14:19 +01:00
javi
29a10e5a5a added winshaft provider 2014-02-04 18:13:44 +01:00
javi
6788237ec7 fixed windshaft provider 2014-02-04 18:13:34 +01:00
javi
f76ac44d56 added windshaft provider 2014-02-03 17:38:05 +01:00
javi
5b6fe55abb fixed index.js for browsers 2014-02-03 12:12:04 +01:00
javi
00c8fa8b27 updated package.json to include main file 2014-01-27 12:48:52 +01:00
javi
b443bafcbb updated torque reference with css properties 2014-01-27 12:48:35 +01:00
javi
0482c4126a removed console 2014-01-09 16:57:50 +01:00
javi
fd14ce8722 fixed rendering with cartocss with conditional zoom fixes #27 2014-01-09 16:52:04 +01:00
javi
8655d5cba2 updated leaflet canvas layer 2014-01-09 15:12:57 +01:00
javi
7bcb2ef2f2 added cache_policy persists 2013-12-19 12:14:25 +01:00
xavijam
f8c90b0c34 added necessary function for getting attribution from a CanvasLayer 2013-12-18 10:59:28 +01:00
javi
69db5d3bf9 added getStep method 2013-12-11 12:32:07 +01:00
javi
8de0b32e48 Merge branch 'master' of github.com:CartoDB/torque 2013-12-11 12:26:19 +01:00
Pascal
6a3018dfea allowing update of torque-aggregation-function (aka countby) 2013-12-10 18:45:42 +01:00
javi
2441f97aea fixed hidden in google maps 2013-12-05 10:53:10 +01:00
javi
ed705f1a90 fixed rendering when variables were used 2013-11-25 16:36:53 +01:00
javi
a8029b5ea9 use torque-frame-count instead of torque-steos close #21 2013-11-25 13:05:07 +01:00
javi
d2dcf7b2a1 added marker-type = rectangle 2013-11-22 16:16:32 +01:00
javi
46aa9fa2f2 fixed cumulative 2013-11-22 15:40:36 +01:00
javi
a213170a8c fixed CORS in IE9 2013-11-22 15:40:23 +01:00
javi
69db609a25 IE9 fixes 2013-11-22 15:08:54 +01:00
javi
f8f35c6a33 fixed requestAnimationFrame callback for IE9 2013-11-21 13:23:31 +01:00
javi
3de6faba75 fixed cumulative 2013-11-21 13:21:48 +01:00
javi
eb3ea211a9 fixed tests 2013-11-20 15:09:45 +01:00
javi
f5ce6e7839 cumulative working 2013-11-20 15:01:52 +01:00
javi
f3e45f523e cumulative WIP 2013-11-20 08:19:44 +01:00
javi
7baf6b175f wrong object in setSQL 2013-11-18 17:34:04 +01:00
javi
b9b83cdff4 leaflet torque layer support options configuration using cartocss #21 2013-11-18 17:30:38 +01:00
javi
c72fd4690f added setOptions method to provider.json #21 2013-11-18 17:30:13 +01:00
javi
9247f1b390 allow renderer to use a compiled shader #21 2013-11-18 17:29:32 +01:00