Created
December 9, 2016 10:36
-
-
Save ramiroaznar/60b9c5e62823b8640e0b5a68f9358a6a to your computer and use it in GitHub Desktop.
CartoCSS style based on zoom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#layer{ | |
marker-fill-opacity: 0.9; | |
marker-line-color: #FFF; | |
marker-line-width: 0; | |
marker-line-opacity: 1; | |
marker-placement: point; | |
marker-type: ellipse; | |
marker-width: 3; | |
marker-fill: #FF6600; | |
marker-allow-overlap: true; | |
[zoom = 4] {marker-width: 6} | |
[zoom = 5] {marker-width: 12} | |
[zoom > 5] {marker-width: 16} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment