Skip to content

Instantly share code, notes, and snippets.

@byeskille
Created September 9, 2016 14:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save byeskille/9cf69b49844494ab120c2de325ffd755 to your computer and use it in GitHub Desktop.
carto hide markers when zoomed out
#forsvarssalg_nestenklar [zoom < 10]{
marker-fill-opacity: 0.0;
marker-line-color: #00ff00;
marker-line-width: 1;
marker-line-opacity: 0;
marker-placement: point;
marker-type: ellipse;
marker-width: 10;
marker-fill: #00ff00;
marker-allow-overlap: true;
}
#forsvarssalg_nestenklar [zoom > 9]{
marker-fill-opacity: 0.5;
marker-line-color: #00ff00;
marker-line-width: 1;
marker-line-opacity: 1;
marker-placement: point;
marker-type: ellipse;
marker-width: 10;
marker-fill: #00ff00;
marker-allow-overlap: true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment