windrobin / timemap

Automatically exported from code.google.com/p/timemap
MIT License
0 stars 0 forks source link

Support templates for infoHtml #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would make formatting the info window much easier if you could specify a 
template with placeholders for the infoHtml, e.g. 
"<h3>{{title}}</h3><p>{{description}}</p>". Placeholders would be replaced by 
values from the item.opts object; you could set a config variable to 
determine whether this was a one-time substitution, or whether the variables 
should be refreshed each time.

possible notations include {{django-template-style}}, $[kml-extended-data-
style], ${jsp-style}, or any of about fifty others. I don't find the KML one 
as pretty, but it might be helpful for KML integration.

Original issue reported on code.google.com by nick.rab...@gmail.com on 17 Apr 2010 at 5:02

GoogleCodeExporter commented 9 years ago
done, defaults to {{django}}

Original comment by nick.rab...@gmail.com on 2 May 2010 at 6:13