[mapguide-users] GetFeaturesKml and GetLayerKml

Jason Birch Jason.Birch at nanaimo.ca
Wed Nov 12 13:25:44 EST 2008


These functions aren't actually supposed to be called directly be the
user.

http://trac.osgeo.org/mapguide/wiki/MapGuideRfc4

There are quite a few other limitations here, such as being
session-based (if the user saves in Google Earth, it'll break when the
session expires), etc.

I'd personally recommend hand-coding the KML that you emit.  There is a
sample app here with source included that shows how to do this:

http://data.mapguide.com/mapguide/DynamicKml/GoogleEarth.php

Jason

-----Original Message-----
From: alucas
Subject: [mapguide-users] GetFeaturesKml and GetLayerKml

What is the diference between these methods? How can I get only some
features from my layer and then export to kml? I suposed that with
GetFeaturesKml I was able to filter features in a layer...


More information about the mapguide-users mailing list