I added a cartoDB layer to an existing map using createLayer
method and it loaded properly. Thereafter, created a variable params
and parsed the arguments as sees on the code snippet below. Unfortunately I am not able to see the title, shareable button and the search bar on my map. What could be wrong?
var params = {
search: true,
cartodb_logo: false,
mobile_layout: true,
shareable: true,
title: true
}
cartodb.createLayer(map, jsonUrl, params).addTo(map)
.on('done', function(layer){
layer.setZIndex(1000); baseLayer
})