[mapguide-dev] KML - Session?
Jason Birch
Jason.Birch at nanaimo.ca
Mon Dec 11 14:14:49 EST 2006
Yes, I guess it's not a lot of work to pull the initial GetMapKML
request in a script, and rewrite the XML adding some initial extents. I
could also toggle the layer states in the same way. Just had another
thought re usability... can I at least the current session to the
GetMapKml request so that I don't have to re-authenticate, or is passing
the session not supported at all?
I can see this being a fairly common request, and it would be really
"cool" to be able to bundle a "view in Google Earth" command button in
the default MapGuide distribution. Would it be a big change to support
pulling the view extent and layer state from a session (ie. is this
something that we can add to the RFC)?
Jason
-----Original Message-----
From: Chris Claydon
Sent: Monday, December 11, 2006 10:54
To: dev at mapguide.osgeo.org
Subject: RE: [mapguide-dev] KML - Session?
Hi Jason,
I don't think that's easy with the current code. You might be able to
enclose a GetMapKml request in a custom-generated KML document that
specifically zoomed to the required extent.
Chris.
-----Original Message-----
From: Jason Birch
Sent: December 8, 2006 10:03 AM
To: dev at mapguide.osgeo.org
Subject: [mapguide-dev] KML - Session?
I'm going to be looking for a way of exposing the current map extents as
KML (place a button that allows user to load current map extents and
layer state in Google Earth).
Does the current KML spec allow passing a session which contains an
MgMap with specific extents set, and zooming to that extent?
Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: dev-help at mapguide.osgeo.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: dev-help at mapguide.osgeo.org
More information about the Mapguide-internals
mailing list