Skip to main content
100%

Easy example | CartoDB.js

✓ Published0🌍 Public
Aandrewbt
Last edited Mar 31, 2015
Created on Mar 31, 2015

This example loads a CartoDB-hosted map visualization into a full-screen `<div id="map">` using the CartoDB.js library. It calls `cartodb.createVis` with a specific `viz.json` URL, setting initial center coordinates at latitude 0, longitude 0, zoom level 2, and disabling the time slider. The map renders the visualization’s default layers and styling from the referenced CartoDB account. The page includes the CartoDB CSS and JavaScript files from `libs.cartocdn.com`, and any loading errors are logged to the console.

AI-generated description

Similar vizzes