Commit Graph

796 Commits

Author SHA1 Message Date
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
Francisco Dans
da7144a7fd includes stat_tag correctly 2015-02-13 16:04:04 +01:00
Francisco Dans
81054b657a adds params to request in named maps 2015-02-13 15:52:03 +01:00
Francisco Dans
5ec6054487 Merge branch 'master' into nodefix
Conflicts:
	lib/torque/renderer/point.js
2015-02-10 18:27:50 +01:00
Francisco Dans
54f3fd2294 Merge pull request #123 from CartoDB/addtodoc
Added torqueLayer.setSQL to docs
2015-02-10 17:37:24 +01:00
Francisco Dans
959f216e82 removes console.log 2015-02-10 14:39:47 +01:00
Francisco Dans
d27f9b0919 Merge pull request #122 from CartoDB/cors-check
Checks for image-filters when preloading image-file
2015-02-10 14:17:52 +01:00
Francisco Dans
c82c55affd runs custom url qualifier if there is one provided 2015-02-10 13:30:35 +01:00
Francisco Dans
b4f5ae1667 Merge pull request #116 from CartoDB/cartocss_doc_fix
Removed buffer-size from doc
2015-02-10 12:30:03 +01:00
Francisco Dans
038777c8cc better error message for CORS disabled 2015-02-10 12:29:14 +01:00
Francisco Dans
45a3b57946 makes check for image-filters in all layers 2015-02-10 11:23:12 +01:00
Andy Eschbacher
830fc86eba Added torqueLayer.setSQL to docs 2015-02-09 11:56:48 -05:00
Francisco Dans
f0b7f09140 adds image filters check to add crossOrigin attribute or not 2015-02-09 17:49:23 +01:00