Commit Graph

858 Commits

Author SHA1 Message Date
Raul Ochoa
a67d9df45a Merge pull request #145 from CartoDB/heatmaps-server
Changes to support server side heatmaps
2015-03-05 14:53:09 +01:00
Raul Ochoa
7359471605 Merge pull request #146 from CartoDB/acceptance-tests
Acceptance tests validating final image output
2015-03-05 14:47:15 +01:00
Raul Ochoa
a7ff63edfc Only try to render image sprite if icon exists 2015-03-04 19:36:25 +01:00
Raul Ochoa
7958c81c24 Reset icons to load counter and fire all icons loaded when any fails 2015-03-04 19:35:42 +01:00
Raul Ochoa
916871365f image.compare returns the % difference against the reference image
As canvas can differ from one implementation to another make tests
to have a tolerance to differences.
2015-03-04 18:53:06 +01:00
Raul Ochoa
ddffe412c6 Do not ignore results directory but png files within it 2015-03-04 18:26:52 +01:00
Raul Ochoa
ef2c90d28c Use cartodb's mapnik package 2015-03-04 18:20:58 +01:00
Raul Ochoa
81892a3231 Adds node-canvas build dependencies for travis 2015-03-04 17:57:25 +01:00
Raul Ochoa
2464e5cdf5 Adds canvas dependency 2015-03-04 17:52:34 +01:00
Raul Ochoa
0305d15106 point renderer acceptance tests
point renderer test helper to get a canvas from a windshaft torque json, cartocss, zxy and step
2015-03-04 17:26:05 +01:00
Raul Ochoa
149c741a03 acceptance tests now run on npm test 2015-03-04 17:24:37 +01:00
Raul Ochoa
49b093d3de Adds mapnik and qunit dependencies for acceptance tests
Basic test with canvas
abstracts mapnik comparison in image test helper
Ignore temporal images `results` directory
2015-03-04 17:23:08 +01:00
Raul Ochoa
286b23ebaf make all 2015-03-04 12:13:46 +01:00
Raul Ochoa
cfc702f98d renderSprite should take marker width as a point radius 2015-03-04 12:10:57 +01:00
Raul Ochoa
142ae1f528 make all: generate dist files 2015-03-04 11:08:46 +01:00
Raul Ochoa
1c25e13cec Rendering sprites for marker files scales the image to the size of the marker
renderPoint and renderRectangle keeps previous behaviour
2015-03-04 11:08:09 +01:00
Raul Ochoa
ac3df42b15 This gets interesting: renderTile defers the rendering until all icons are loaded 2015-03-04 11:05:26 +01:00
Raul Ochoa
c0131cdebf Icon preloading now downloads a set of URLs so if there are duplicated URLs it won't request the same image multiple times
Image loading can be provided and defaults to previous behaviour: client side `src = url`.
2015-03-04 11:03:46 +01:00
Raul Ochoa
656d082568 Trigger allIconsLoaded when there are no icons to load 2015-03-04 10:54:30 +01:00
Raul Ochoa
2ceeba0d82 Renderer.renderTile now accepts an optional {Function} callback parameter that will be called when it finish rendering 2015-03-04 10:49:52 +01:00
Raul Ochoa
f2a4c22dc7 Make torque_filters accept options param to add canvasClass 2015-03-04 10:46:02 +01:00
Andy Eschbacher
8bc49bcb3e added events -- tentative 2015-03-03 12:35:30 -05:00
Francisco Dans
043e7b0090 adds dists for 2.10.1 2015-03-02 17:35:13 +01:00
Francisco Dans
6c094e3ba9 bumps version to 2.10.1 2015-03-02 17:32:56 +01:00
Francisco Dans
cfe01c5dbe reflects changes for 2.10.1 in NEWS 2015-03-02 17:32:04 +01:00
Francisco Dans
7e43d0ecee Merge branch 'master' of github.com:CartoDB/torque 2015-03-02 17:26:15 +01:00
Francisco Dans
6ba2e42625 Merge pull request #138 from CartoDB/onesteppause
Makes sure that animation is paused when steps === one
2015-03-02 17:19:43 +01:00
Francisco Dans
ef42324b29 documents loop and cartocss options 2015-03-02 16:12:37 +01:00
javi santana
d744c9a497 Merge pull request #141 from abenrob/loop-pause-max
animation loop option to pause on max frame, not reset to beginning
2015-03-02 15:09:58 +01:00
abenrob
fa8a9bbc2b removed uneccesary frame update request 2015-03-02 14:09:09 +01:00
Francisco Dans
b605bd56ce Merge pull request #142 from CartoDB/anchor-middle
Fixes points position according to resolution
2015-03-02 14:07:02 +01:00
Francisco Dans
9a1571d79e precalculates anchor 2015-03-02 14:00:25 +01:00
Francisco Dans
dbc3c1c8f3 reverts navy_leaflet to norml 2015-03-02 12:46:20 +01:00
Francisco Dans
5006d6495d adds half the resolution size to x and y positions 2015-03-02 12:43:17 +01:00
Francisco Dans
d81bb5855c temporarily applies changes to leaflet examples 2015-03-02 12:18:38 +01:00
abenrob
d5e8007dce animation loop option to pause on max frame, not reset to beginning 2015-03-02 11:56:25 +01:00
Francisco Dans
767fae6272 adds start in animator rescale 2015-03-02 11:43:18 +01:00
Francisco Dans
5a27243f07 makes sure that animation is paused when steps is one 2015-02-26 16:10:18 +01:00
Raul Ochoa
ece11bb3f3 Release 2.10.0 2015-02-20 19:55:28 +01:00
Francisco Dans
fbac1510dc Merge pull request #129 from CartoDB/time-span
Makes getTimeSpan actually return an object
2015-02-17 17:00:26 +01:00
Francisco Dans
da7cf9d244 makes gettimespan actually return an object 2015-02-17 16:38:47 +01:00
Francisco Dans
db41e24b42 Merge pull request #128 from CartoDB/timetostep
Adds timeToStep() method
2015-02-17 16:22:24 +01:00
Raul Ochoa
847f3fc2f4 Merge pull request #114 from CartoDB/nodefix
Replaces direct call to document with abstraction
2015-02-17 15:01:23 +01:00
Francisco Dans
dfc8c982d9 adds timetostep method to torque layer 2015-02-17 14:39:17 +01:00
Francisco Dans
2c04ed0a40 Merge pull request #126 from CartoDB/updateAPIdoc
Added some missing methods
2015-02-16 09:51:49 +01:00
Andy Eschbacher
1d3e01a655 Added some missing methods 2015-02-14 14:00:50 -05:00
Francisco Dans
4ab654ac89 Update NEWS 2015-02-13 19:01:24 +01:00
Francisco Dans
dca842a08c Merge pull request #125 from CartoDB/named-params-fix
Adds params to request in torque named maps
2015-02-13 17:22:11 +01:00
Francisco Dans
8dffb1a8d2 OCD 2015-02-13 17:16:50 +01:00
Francisco Dans
ecb72d9e8a adds test for named maps params fix 2015-02-13 16:10:20 +01:00