You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a windshaft service and I need to get torque map but the marker based on a relative path doesn't works.
In the root folder I have a images folder whit some images.
Hi,
I have a windshaft service and I need to get torque map but the marker based on a relative path doesn't works.
In the root folder I have a images folder whit some images.
{
"type": "torque",
"options": {
"cartocss_version": "2.0.0",
"sql": "SELECT geometry FROM mytable",
"cartocss":"
Map
{
-torque-frame-count:1;
-torque-animation-duration:10;
-torque-time-attribute:'total_count';
-torque-aggregation-function:'sum(total_count)';
-torque-resolution:2;
-torque-data-aggregation:linear
}
#table_2_point
{
image-filters:colorize-alpha(blue,cyan,lightgreen,yellow,orange,red);
marker-file:url('./images/torque_marker.png');
marker-width: 4;
marker-fill-opacity: 0.3*[value];
[zoom > 6]
{
marker-width: 6;
marker-fill-opacity: 0.4*[value];
}
[zoom > 7]
{
marker-width: 9;
marker-fill-opacity: 0.4*[value];
}
}
"
}
}
I alway get the error: Couldn't get marker-file ./images/torque_marker.png
Thanks,
Daniele
The text was updated successfully, but these errors were encountered: