This package provides the following services:
CartoDB Basemap Editor
This is an editor for editing maps on CartoDB. A compatible version of the CartoDB basemaps can be found on GitHub at stamen/cartodb-basemaps.
To open the preview pane, open the Command Palette (⇧⌘P) and enter some variation on "Cartodb: Preview".
Configuration
Before use, you'll need to provide your CartoDB username and add an API key.
Open the Settings (Atom
→ Preferences
→ Packages
→ cartodb
→
Settings
) and fill in those fields.
Extras
For the full experience, install these additional packages:
- language-carto - for CartoCSS syntax highlighting
- linter - displays syntax errors inline
- pigments inline display of color values
- color-picker - color picker widget
Additional Configuration
To get the full benefit from pigments, open its Settings (Atom
→
Preferences
→ Packages
→ pigments
→ Settings
) and set its Autocomplete
Scopes to:
'.source.css', '.source.css.less', '.source.sass', '.source.css.scss', '.source.stylus', '.source.css.mss'
and Source Names to:
**/*.styl, **/*.stylus, **/*.less, **/*.sass, **/*.scss, **/*.mss
You may also want to experiment with Marker Type, as it makes working with color variables more pleasant.