In my data, I have a column containing some url values; where the url is unavailable, it contains the text value "Not yet available".

I want the output in the map infowindow to either display, "Not yet available" in cases where there is no url or "Link to website," where you can click through to the url.

I played with both the sql and html to try to make this happened, but was unsuccessful.

1 Answer 1


You can use the conditional Mustache templates in order to achieve this, I recommend you to take a look at the solution here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.