Sunday, 12 April 2015

carto - Dynamic content in infoWindow


I am trying to add some dynamic content to my infoWindow. The following code writes the string 'bar' to the element. However this works for the infoWindow of some points, but not for others (content is in variable, but not shown in the popup) in Firefox. Does not seem to work in Chrome at all. Any suggestions on how to do this? Edit: Surprisingly it works if an alert() popup is opened before the infoWindow.


 









No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...