dimanche 30 novembre 2014

I am unable to remove the legend from a CartoDB layer. I have passed legends: false in createLayer options but with no luck


cartodb.createLayer(map, BikeTrails)



.on('done', function(layer) {legends:false

layerBikeTrails = layer;


L.control.layers(null, {'Dedicated Bike Lanes': layerBikeLanes, 'Bike Share Toronto': layerBikeShare, 'Bike Stores': layerBikeStores, 'Access to Multipurpose Trails': layerBikeTrails}) .addTo(map);





Aucun commentaire:

Enregistrer un commentaire