question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alphamarker image necessary for heatmap (Pixel) style should be included in assets pipeline

See original GitHub issue

Basically we are generating the current CartoCSS for this type of style:

Map {
  -torque-frame-count: 1;
  -torque-animation-duration: 30;
  -torque-time-attribute: "cartodb_id";
  -torque-aggregation-function: "count(1)";
  -torque-resolution: 4;
  -torque-data-aggregation: linear;
}
#layer {
  marker-width: 45;
  marker-fill: white;
  marker-fill-opacity: 1;
  marker-file: url(http://s3.amazonaws.com/com.cartodb.assets.static/alphamarker.png);
  marker-allow-overlap: true;
  marker-line-width: 1;
  marker-line-color: #FFF;
  marker-line-opacity: 1;
  image-filters: colorize-alpha(#4b2991,#872ca2,#c0369d,#ea4f88,#fa7876,#f6a97a,#edd9a3);
}

In on premises will not work because the don’t have access to external resources

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
xavijamcommented, Dec 5, 2016

So, things we have to change:

  • For SASS, we should add https always. Protocol"less" doesn’t work for purposes like image rendering in the server (previews).
  • For on-premises, we should create the whole url, absolute one will not work as we have described in the previous bullet.

Thanks to @rochoa for these things ^^^.

0reactions
ivanmalagoncommented, Dec 5, 2016

Waiting for #10960 test to pass. Once they do, feel free to merge and deploy to Production.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The Asset Pipeline - Ruby on Rails Guides
The Asset PipelineThis guide covers the asset pipeline.After reading this guide, you will know: What the asset pipeline is and what it does....
Read more >
Ruby on Rails Guides: Asset Pipeline
This guide covers the asset pipeline introduced in Rails 3.1. ... Images can also be organized into subdirectories if required, and they can...
Read more >
Understanding the Asset Pipeline in Ruby on Rails - Medium
Here we include an image. The image_tag helper expects the image to be located at app/assets/images within the app. You can add subfolders ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found