Select to view content in your preferred language

Export the graphics added to a map to KML format.

2104
3
11-25-2011 03:34 AM
PreranaDoshi
Emerging Contributor
Hi
Is it possible to export the graphics added to a map to KML format using java script API. I am adding graphics over a map and now i wish to export this graphics to KML file. Is it possible using java script?

Please help.

Thanks
0 Kudos
3 Replies
HemingZhu
Frequent Contributor
Hi
Is it possible to export the graphics added to a map to KML format using java script API. I am adding graphics over a map and now i wish to export this graphics to KML file. Is it possible using java script?

Please help.

Thanks


See: http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/kmlinfo.html
0 Kudos
JeffPace
MVP Alum
See: http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/kmlinfo.html


Actually that link all references server side data.  Since graphics are rendered client side, it would be impossible to export to KMZ as they would then have to be hosted somewhere,no?
0 Kudos
derekswingley1
Deactivated User
The JS API doesn't provide this functionality. You would have to do some work server-side to make this happen. Using a GP services comes to mind...
0 Kudos