Skip to main content
100%

Instructions for Mapbox basemap in CartoDB

✓ Published0🌍 Public
Aandrewxhill
Last edited Jul 26, 2013
Created on Jul 26, 2013

This example demonstrates how to use a Mapbox-hosted basemap inside a CartoDB visualization by constructing a custom XYZ tile URL. It shows the step-by-step process of creating a Mapbox map, retrieving its Map ID from the publish options, and formatting the URL template `http://{s}.tiles.mapbox.com/v3/MAP_ID/{z}/{x}/{y}.png`. The guide then explains how to paste this URL into CartoDB’s basemap selector under “add yours,” using Leaflet’s tile-loading syntax. The workflow relies on CartoDB’s map interface and Mapbox’s tile API, with no custom code or data processing involved.

AI-generated description

Similar vizzes