Find examples of CartoCSS styles and learn best practices for displaying data on MapGeo
Last updated 11/12/2019
Access to MapGeo Studio
Data loaded to MapGeo Studio
Below are several CartoCSS templates for use in MapGeo Studio. These can be used as starting points to create your own high-quality cartography on MapGeo.
Features for Display over Aerial Imagery
The CartoCSS below is optimized for showing features over a dark background, such as a basemap designed for use with aerial imagery. The example shows parcel lines in a light yellow, with scale trapping to show up only at higher zoom levels. This prevents the map from being overwhelmed with too many features turning on when the map is zoomed to a town or regional area. The labels are also optimized for display over a dark image, and turn on only when zoomed in to a parcel level.
/** simple visualization */
text-face-name: 'DejaVu Sans Book';
This style will create the effect of 3D buildings. Building height can be controlled by an attribute value from your data by replacing the building-height value with the field name in [brackets].
Labels often require a great deal of fine-tuning based upon the specifics of your data. This style will create labels that draw directly on top of the centerline.
text-face-name: 'Lato Bold';
Polygons with Hatch Lines
This style adds a pattern to a polygon fill by using an external image. MapGeo Studio also has some pre-loaded images for use.
polygon-opacity: 0; /* This element sets the opacity of the background color */
Polygon-fill: #FFFFFF; /* This element sets the background color, if desired */