Skip to main content
100%

createLayer

✓ Published0🌍 Public
Aandrewxhill
Last edited Sep 9, 2015
Created on Sep 9, 2015

The map displays a set of orange point markers over a light CartoDB basemap, centered on the United States, with data pulled from the `smart_center` table. It uses the CartoDB.js `createLayer` API to load a CartoDB sublayer with a custom CartoCSS style, defining markers with a 10-pixel width, white outline, and orange fill. The Leaflet map is initialized with a tile layer from CartoDB’s basemaps and fitted to bounds spanning from the Pacific to the Atlantic. The rendering occurs on an HTML canvas background, though the visible map itself is Leaflet-based.

AI-generated description

Similar vizzes