Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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