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.

Previous style is applied after reopening a map and applying a new style

See original GitHub issue

Steps to Reproduce

Please break down here below all the needed steps to reproduce the issue

  1. Create a map selecting ne_10m_railroads dataset
  2. Style color layer based upon cartodb_id field from the UI
  3. Back to the main menu
  4. Open the map again
  5. Change style using the CartoCSS panel:
#layer {
  line-width: 1.5;
  line-color: ramp([cartodb_id], (#00e6a4,#a7e369, #e6de00,#ed8d36,#e60042), jenks);
  line-opacity: 0.9;
}
  1. Apply (clicking or typing CTRL+S)

Current Result

  • A previous CartoCSS appears in the panel and the style associated with it is applied.
#layer {
  line-width: 1.5;
  line-color: ramp([cartodb_id], (#00e6a4,#a7e369, #e6de00,#ed8d36,#e60042), jenks);
}

cartocss

  • Surprisingly, moving with the arrow you can go back and then forward to the “last” CartoCSS and apply again.

Expected result

  • CartoCSS and style should be applied correctly.

Browser and version

  • Google Chrome v54.

.carto file

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ivanmalagoncommented, Jan 25, 2017

Deployed in production.

@ramiroaznar 's life will be better from now on.

1reaction
xavijamcommented, Jan 23, 2017

We are still on it @ramiroaznar, we haven’t deployed anything yet (check status in the builder project board). Well, issue is not closed so…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Apply styles - Microsoft Support
On the Home tab, point to a style to preview it. Apply styles options on the Word ribbon. If you don't see a...
Read more >
Preventing Styles from Changing - Word Ribbon Tips
Hover the mouse pointer over a style name in the Styles window. You should see a down-arrow appear at the right side of...
Read more >
Understanding Styles in Microsoft Word - Charles Kenyon
This is because Word is a styles-based application: it first reads the attributes of the underlying style, then has to broadcast anything contrary...
Read more >
Manage styles—ArcGIS Pro | Documentation
Styles are collections of reusable items such as symbols and other assets that appear on maps, scenes, and layouts. You add styles to...
Read more >
Apply Photographic Styles with your iPhone Camera
Open Camera, then tap the Camera Controls button . · Tap the Photographic Styles button , then swipe left to preview the different...
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