Commit Graph

362 Commits

Author SHA1 Message Date
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