I am trying to write an application that takes the current extent of my map and exports the map service to KMZ. I have achieved this functionality however, the KMZ layer LOOKS AWFUL. Its effectively a useless blob of pixels that looks nothing like my map service.
To achieve this, currently I am using:
https://<MAP SERVICE ROOT>/MapServer/export?bbox<EXTENT>&f=kmz
Anyone have any experience with this or thoughts?