Hey,
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
And just using JavaScript to open a window with this url and its downloads the kmz. The query string accepts a lot of other arguments that I have been manipulating but nothing is seeming to produce a viable result.
Anyone have any experience with this or thoughts?