Add a template to concatenate user generated KML code to Geoserver KML output
-----------------------------------------------------------------------------
Key: GEOS-3620
URL: http://jira.codehaus.org/browse/GEOS-3620
Project: GeoServer
Issue Type: New Feature
Components: Google Earth KML Output
Reporter: Damian Bradley
Assignee: Andrea Aime
If we can concatenate some custom KML code at the beginning or end of geoserver's KML output, users can add things like screen overlays, tours or other functionality that does not depend on the back-end database for content. I'm not sure if placing it at the beginning or end matters in XML/KML. I don't think freemarker would want to parse this because there would be no interface, nor any need to access record-level information in the KML code I'm suggesting since it's just being tacked on to the end of a previously parsed and generated KML file.
From Justin Deoliveira on the devel list:
"Basically we could come up with two more templates, perhaps named "header.ftl" and "footer.ftl" or something like that. ACtually we already have the same for GetFeatureInfo templates. Perhaps it could be adapted to KML output. Regardless it should not be too hard to implement."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira