More

Removing Null title/string from infoWindow of CartoDB?

Removing Null title/string from infoWindow of CartoDB?


I am new to using CartoDB.

My issue stems from having multiple data columns displayed in the infowindow when clicked. In this case I don't want "null" or the title if null, to appear in the infowindow - I just want the data that isn't null to appear.


This is not that simple. You have to edit your info window html.

Once inside the html. find the ones you want to check if their null (all of them guess) then add these around the

and

tags

{{#columnname}} 

Columnname

{{columnname}}

{{/columnname}}

but it could break some formatting. the info windows are using mustache to render the templates: https://mustache.github.io/mustache.5.html


Watch the video: 6- Flutter google maps - adding info window to the marker