Hi,

You don't need to overwrite stream(), just pass your string to
StreamingResolution's constructor (or a reader or input stream)...

Now for your google-specific problem, I have no idea.

Cheers

RĂ©mi


2014-09-27 23:36 GMT+02:00 Heather and Jon Turgeon <
tashiba40_evergr...@hotmail.com>:

> Hi all, my Stripes based mapping site is coming along nicely. (running on
> AWS) I do have a question if anyone has used a Stripes action to be the
> source of a KML for Google maps? So far I have the code written and the KML
> being created in an action but have been unable to get the placemarks to
> show up on the map (no placemarks are created). Here is the Javascript I use
>
> //Load the markers
> var kmlLayer = new google.maps.KmlLayer({
>      url: '../marker/KMLMarker.action'
> });
> kmlLayer.setMap(gemap);
>
> here is the end of the Stripes action, I am using the kmlframework library
> for creating the kml from hibernate objects
>
> return new StreamingResolution("text/kml") {
>        public void stream(HttpServletResponse response) throws Exception {
>               response.getWriter().write(kml.toString());
>        }
> };
>
> Jon
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to