04-22-2011 06:39 AM
04-26-2011 03:23 AM
04-26-2011 04:28 AM
04-26-2011 05:02 AM
04-26-2011 05:14 AM
// Get the assets content stream
InputStream stream = asset.getContentAsInputStream().getStream();
<#if locations?? && locations.assets?size != 0>
<script type="text/javascript">
$("#gmap").gMap
(
{
markers:
[
<#list locations.assets as location>
<#assign coords = location.properties["cm:description"]?split(",")>
{
latitude: ${coords[0]},
longitude: ${coords[1]},
html: "here i would like to put the html content of my asset"
},
</#list>
],
zoom: 10
}
);
</script>
<#else>
No locations !
</#if>
04-26-2011 09:13 AM
<#if locations?? && locations.assets?size != 0>
<script type="text/javascript">
$("#gmap").gMap
(
{
markers:
[
<#list locations.assets as location>
<#assign coords = location.properties["cm:description"]?split(",")>
{
latitude: ${coords[0]},
longitude: ${coords[1]},
html: <@streamasset asset=location />
},
</#list>
],
zoom: 10
}
);
</script>
<#else>
No locations !
</#if>
04-26-2011 09:17 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.