Commit Graph

447 Commits

Author SHA1 Message Date
javi
dffb469c5c and more unused variables 2015-10-02 17:36:41 +02:00
javi
9f25dea8a6 removed more unused variables 2015-10-02 17:35:12 +02:00
javi
ff269a5ecf added getValues to fetch values for step. Also adds some signals needed to be able to use it and some fixes to the makefile 2015-10-02 17:29:53 +02:00
Francisco Dans
d7a0fa8ed1 Merge pull request #222 from CartoDB/tilejson
TileJSON generic provider
2015-10-01 19:29:22 +02:00
Francisco Dans
b212913530 supports relative tile urls 2015-09-29 12:54:26 +02:00
Francisco Dans
e4aa398f6e more code stripping 2015-09-22 12:33:28 +02:00
Francisco Dans
e2461d6997 reverts windshaft provider 2015-09-22 11:51:48 +02:00
Francisco Dans
191e762d35 adds tilejson checking in gmaps 2015-09-22 11:50:38 +02:00
Francisco Dans
00e3ddfe99 uses tilejson provider when option is specified 2015-09-22 11:48:48 +02:00
Francisco Dans
efa11680c4 strips tilejson from windshaft specific stuff 2015-09-22 11:42:57 +02:00
Francisco Dans
a88a0474d3 adds tilejson as a copy of windshaft 2015-09-22 11:32:55 +02:00
Francisco Dans
13affc5716 adds tilejson to list of providers 2015-09-22 11:32:29 +02:00
Francisco Dans
008c598e1c separates metadata getting functions 2015-09-21 18:03:16 +02:00
Francisco Dans
4527d4a300 admits tilejson option 2015-09-21 15:01:49 +02:00
Ilya Radchenko
57c6afb266 Add default on* handlers for gmaps torque
Should fix https://github.com/CartoDB/torque/issues/213
2015-09-08 15:59:55 -04:00
Francisco Dans
ffdc70a60d Merge branch 'animator-tests' into pause-fix 2015-08-04 16:27:12 +02:00
Francisco Dans
efcfc13546 checks querydata 2015-08-04 16:09:43 +02:00
Francisco Dans
b419cb555f checks for provider on gmaps layer 2015-08-03 16:03:53 +02:00
Francisco Dans
579326954b resumes on rescale only if running 2015-08-03 16:03:23 +02:00
Francisco Dans
b2a1d6a0fa temp fix for header 2015-08-03 11:30:01 +02:00
Francisco Dans
28a11c99b7 makes header.js better 2015-07-30 17:19:10 +02:00
Francisco Dans
e015282f9c writes correct var 2015-07-30 17:07:24 +02:00
Francisco Dans
df99c918d1 adds header to uncompressed dists 2015-07-30 16:58:17 +02:00
Francisco Dans
4744ccd661 add header file 2015-07-30 16:38:23 +02:00
Dani Carrion
4ed644feaa renderer and provider are loaded before options.ready is defined, to prevent them from being called before their initialization 2015-06-23 14:43:44 +02:00
Francisco Dans
ed370dce54 uses if instead of falsy check 2015-06-15 14:29:22 +02:00
Francisco Dans
f621ae268b adds gmaps fix 2015-06-15 11:46:38 +02:00
Francisco Dans
9ca31c2963 redraws view on show if steps are one 2015-06-15 11:22:56 +02:00
Ilya Radchenko
999b4d49f4 Fix issue with _super being removed from listeners
See https://github.com/CartoDB/cartodb.js/issues/478#issuecomment-102415466 for more details.
2015-05-15 11:29:30 -04:00
Ilya Radchenko
621fe55ea9 Fix comments 2015-05-12 11:58:56 -04:00
Ilya Radchenko
bc953b1185 Add getOpacity/setOpacity to canvaslayer 2015-05-12 11:57:46 -04:00
Francisco Dans
465c47e40d fixes wrong check position 2015-05-05 18:31:43 +02:00
Francisco Dans
147cdbf1b4 performs adjustment in the canvas layer instead of the torque layer 2015-05-05 18:28:22 +02:00
Francisco Dans
3eef183945 sets the correct position of the canvas on each render 2015-05-05 16:56:55 +02:00
Francisco Dans
52b3521557 reverts last because it was useless 2015-05-05 16:56:28 +02:00
Francisco Dans
3476c74f1c listens to drag event instead of move to re-render 2015-05-05 15:48:40 +02:00
Francisco Dans
9c17d7a1bc uses capitals for constants like a normal human being 2015-05-05 15:09:07 +02:00
Francisco Dans
9486bd9667 uses radius from cartocss renderer 2015-05-05 14:47:54 +02:00
Francisco Dans
fa5791483e puts max radius as a constant 2015-05-05 12:56:37 +02:00
Francisco Dans
645da00ce1 limits the size of a point canvas too 2015-05-05 12:43:20 +02:00
Francisco Dans
aabf0f234c limits sprite radius to 255 2015-05-04 11:35:30 +02:00
Francisco Dans
cdf3708a3c doesn't add flag if firefox 2015-04-30 13:00:34 +02:00
Francisco Dans
a27960fbe7 adds stupid comma 2015-04-28 12:43:46 +02:00
Francisco Dans
3309b2cfad adds clamped type 2015-04-28 12:41:34 +02:00
Francisco Dans
c3b22324f1 uses clamped array for values 2015-04-28 12:41:25 +02:00
Francisco Dans
5c8b3c0908 throws errors on named maps 2015-04-23 18:49:13 +02:00
Francisco Dans
aaa8b819ed triggers remove from layer 2015-04-20 18:43:40 +02:00
Francisco Dans
36b4fa9c0c restores tileloaders 2015-04-20 18:43:24 +02:00
Francisco Dans
c50b60db9c adds call to gmaps onRemove 2015-04-20 15:09:19 +02:00
Francisco Dans
db914f65cf triggers remove event to get rid of timeslider' 2015-04-20 14:48:40 +02:00
Francisco Dans
f775df9e9c only runs callback if it's been defined 2015-04-15 14:53:10 +02:00
Francisco Dans
27d983d646 uses self instead of bind 2015-04-15 11:54:23 +02:00
Francisco Dans
64d05276ae returns this on error function 2015-04-15 11:26:51 +02:00
Francisco Dans
2652f6c6d8 adds error handling to gmaps 2015-04-15 11:20:20 +02:00
Francisco Dans
7626ebe3b6 runs callback where there are errors 2015-04-15 10:57:48 +02:00
Francisco Dans
3134aa828c adds error function to torqueLayer api 2015-04-15 10:56:48 +02:00
Francisco Dans
c04ab74a97 on errors, halts torque and displays them 2015-04-14 17:45:22 +02:00
javi
a0417d8bc3 fixed user 2015-03-31 17:09:52 +02:00
javi
a434bd8640 add support for maps_api_template 2015-03-31 15:20:35 +02:00
Francisco Dans
c3dd3af184 Merge pull request #156 from CartoDB/data-peek
Adds getValueForBbox
2015-03-17 14:59:50 +01:00
Francisco Dans
ce6351a2c4 Merge pull request #157 from CartoDB/fill-opacity
Allows for zero marker-fill-opacity
2015-03-17 12:01:09 +01:00
Francisco Dans
219a3f5888 removes unnecessary globalalpha set 2015-03-17 11:48:19 +01:00
Francisco Dans
a244fa183c passes logic upstairs 2015-03-17 11:44:44 +01:00
Francisco Dans
131f116487 prioritizes marker-opacity 2015-03-17 11:30:08 +01:00
Francisco Dans
f63b037d0e sets marker-opacity as preliminary global opacity value 2015-03-16 17:29:48 +01:00
Francisco Dans
35e28b22c7 uses for instead of while because ñiñiñi 2015-03-16 16:37:57 +01:00
Francisco Dans
a2696195f4 Merge branch 'master' of github.com:CartoDB/torque into data-peek 2015-03-13 19:01:35 +01:00
Francisco Dans
e657f349df adds getValueForBBox for gmaps 2015-03-13 18:59:41 +01:00
Francisco Dans
567511f694 adds getValueForPos in gmaps 2015-03-13 18:48:08 +01:00
Francisco Dans
3ead777645 resets x value with each row 2015-03-11 18:56:11 +01:00
Francisco Dans
6232e16002 replaces falsy check with greater or equal 2015-03-11 18:01:38 +01:00
Francisco Dans
086c77c379 removes redundant decs 2015-03-11 17:45:59 +01:00
Francisco Dans
f04b149b23 adds getValueForBbox 2015-03-11 16:50:53 +01:00
Francisco Dans
d04eb9576c adds applyfilters call to gmaps layer 2015-03-10 12:48:32 +01:00
Raul Ochoa
d360dffe28 Fix reference to torque.providers.JsonArray provider 2015-03-10 11:47:08 +01:00
Raul Ochoa
734e6e119a Merge pull request #150 from CartoDB/149-windshaft-coordinates-type
Optional data type for coordinates in Windshaft provider
2015-03-05 17:58:59 +01:00
Raul Ochoa
fae792067e Windshaft provider accepts an optional data type for coordinates
closes #149
2015-03-05 16:25:38 +01:00
Raul Ochoa
204ed0903c Do not fix values in the edge. Closes #147 2015-03-05 15:34:50 +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
cfc702f98d renderSprite should take marker width as a point radius 2015-03-04 12:10:57 +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
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
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
9a1571d79e precalculates anchor 2015-03-02 14:00:25 +01:00
Francisco Dans
5006d6495d adds half the resolution size to x and y positions 2015-03-02 12:43:17 +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
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
8dffb1a8d2 OCD 2015-02-13 17:16:50 +01:00