Commit Graph

458 Commits

Author SHA1 Message Date
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
dcd2986b9a Make tests to run with phantomjs 2014-12-09 15:46:54 +01:00
Raul Ochoa
86dd178abb Prepare tests to run with browserify 2014-12-09 15:46:03 +01:00
Raul Ochoa
e8634abc0d Replace underscore defaults/extend with torque ones 2014-12-09 15:42:05 +01:00
Raul Ochoa
936bfe227a Be more specific about real dependencies 2014-12-09 15:38:56 +01:00
Raul Ochoa
b480c5a453 Be specific about dependencies 2014-12-05 17:06:16 +01:00
javi santana
4d73c03fee Merge pull request #62 from CartoDB/61-fix_firefox
limit the canvas bounds is rendered so firefox does not raise an exception
2014-12-03 10:31:30 +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
04d8be4573 Merge pull request #58 from CartoDB/56-add-torque-leaflet-invalidate-method
56 add torque leaflet invalidate method
2014-11-21 12:06:38 +01:00
Nicklas Gummesson
b9f6401be2 Update docs with new method 2014-11-21 11:55:05 +01:00
Nicklas Gummesson
cc40e7fbed Updated list files 2014-11-21 11:34:37 +01:00
Nicklas Gummesson
ccef5e232c Added invalidate method to L.TorqueLayer 2014-11-21 11:34:26 +01:00
Andrew W. Hill
dbcac21087 Merge pull request #54 from CartoDB/anim_events
added play, pause and stop events, closes #53
2014-11-02 07:41:39 -05: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
2047b1871f updated torque 2014-10-21 17:16:23 +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 santana
77816238e5 Merge pull request #49 from CartoDB/avoid_render
no render when maker-width = 0 or opacity = 0
2014-10-20 12:01:37 +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
nick13jaremek
6024c36376 Update API.md
Reformatted getValueForPos method table.
2014-10-15 12:03:15 +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
4c985ca386 dist files 2014-09-24 13:12:44 +02:00
javi
0eb0d4e360 updated leaflet 2014-09-24 13:11:55 +02:00
javi santana
7ea3709bee Merge pull request #46 from CartoDB/interactivity
Interactivity
2014-09-24 12:27:34 +02:00
javi
eeb74cca0d clarification for getValueFor method in the doc 2014-09-24 12:08:26 +02:00
javi
9b10786ef0 updates news 2014-09-24 12:08:05 +02:00
javi
78ff1d4ab8 fixed font name cc @rochoa 2014-09-24 12:07:54 +02:00
javi
63858fb051 fixed bounds checking cc @rochoa 2014-09-24 12:07:38 +02:00
javi
b5d0ef5550 updated documentation 2014-09-24 11:48:46 +02:00
javi
14f12f023d added interaction example 2014-09-24 11:48:29 +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 santana
bca8828f8c Merge pull request #44 from CartoDB/test_back_per_tile
using a render cache when the map is not being animated
2014-09-17 12:00:46 +02:00
javi
1b7cf8f8f7 cache variables for looping 2014-09-17 11:47:08 +02:00
javi
a2bc058063 updated news 2014-09-17 11:39:38 +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