[mapguide-users] RE: GETMAPKML markers
Chris Claydon
chris.claydon at autodesk.com
Tue May 22 12:27:24 EDT 2007
Hi Alex,
The caveat is in there because the format of the generated KML may
change in the future. The KML 2.1 specification can be a little
restrictive, and MapGuide could also do more (especially regarding
giving the user more options to control output, error handling, and
session management), so it seems likely that enhancements will be added
at some point. If the changes you are making are simple it should be
pretty straightforward to update them if something changes.
An alternative approach would be to use the feature service APIs to
retrieve the object geometries and generate the KML using your own code.
Bob Bray had some sample PHP code that generated KML. However, the KML
service gives you a lot of map and layer parsing, scale range support,
theming etc. for free, so if you can base your solution on what's
already there it will probably save you a lot of development time.
Chris.
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Alex
Fordyce
Sent: May 21, 2007 1:38 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: GETMAPKML markers
Thanks Chris. I look forward to the new release. In the documentation on
osgeo it recommends not accessing the GetFeaturesKML directly. If this
is
so, then what would be an alternative strategy to intercepting the
features?
alex
Chris Claydon wrote:
>
> There is not currently a way to do this without intercepting the
> generated KML (from GetFeaturesKML) and modifying the style settings.
>
> A bug was recently fixed that prevented the Kml Service from being
> instantiated from a script. So it should now be easier to achieve
this.
>
> Chris.
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Alex
> Fordyce
> Sent: May 17, 2007 7:38 PM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] GETMAPKML markers
>
>
> Hi,
>
> Does anyone know if it possible to change the default marker for
points
> when
> using GETMAPKML? Currently it is a thumb tack. Can I do this in one of
> the
> .templ files?
>
> Thanks,
> alex
> --
> View this message in context:
> http://www.nabble.com/GETMAPKML-markers-tf3775292s16610.html#a10675203
> Sent from the MapGuide Users mailing list archive at Nabble.com.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context:
http://www.nabble.com/GETMAPKML-markers-tf3775292s16610.html#a10725407
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list