How do I add a CartoDB layer to a MapBox map?

المشرف العام

Administrator
طاقم الإدارة
I'm having some trouble adding a CartoDB layer to an L.mapbox.map, I thought it was a pretty simple thing to do in the HTML but it's just not working and I dont know why? My CartoDB layer has vector tiles whose info window opens to a clickable link. My map is a MapBox map that has imagery and streets layers from my mapbox account and the mapbox.places geocoder control. The code is below and I am hoping someone out there can help me figure out my mistakes because all I am getting is a grey screen and it's a puzzle I'm having a nightmare trying to solve. Any help would be awesome, thanks!

Tiles Mapbody { margin: 0; padding: 0; }#map { position:absolute; top:0; bottom:0; width:100%; }


أكثر...
 
أعلى