Gotchas - maps and templates
LeafletJS - bug in Safari
- Info windows on markers don't open in Safari (and possibly other browsers) with LeafletJS v 1.7.1
- Solution: leave it, or use LeafletJS 1.8.0-beta.3
Example Leaflet 1.7 and Example with Leaflet 1.8.0-beta.3
Handlebars and Tables
Creating a Handlebars template with tables can be tricky, due to the way the browser parses the content of the "template".
Solutions
- Dont' use tables.
- Put your template in "script" tag. Codepen Example - using "script" element so browser doesn't parse template contents
- Generate only the "tr" elements in your template, and add them into to a partial table container. Codepen Example where only "tr" are created with template and then added into "table"