Hi there!

Probably the error has to do with you returning kml.toString() insted of
returning a KML file! Plesase have a look!

I personally never worked with google maps like you are doing (server
side)! I allways keep the maps api on client side!

Cheers!
Em 27/09/2014 22:38, "Heather and Jon Turgeon" <
tashiba40_evergr...@hotmail.com> escreveu:

> 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
>
>
------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&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