I am building a Google Earth API application using a map service (using ArcGIS Server 10) that has KMZ/KML capabilities. For some reason, I am able to access the KMZ layer within our network. But, does not work outside our network.
I am loading the KMZ file using the fetchKML method:
google.earth.fetchKml(ge, IMG_URL_TO_LOAD, finished_and_visible);
I am using IIS7 as the web server and have added MIME types for both KMZ and KML.
Any suggestions to what might be the problem?
Best Answer
When constructing a custom KML network link using Manager, the KMZ file is automatically copied to your virtual root directory and is available at http:/// /kml for everyone to access. Simply open this location in a browser to view all the custom KML Network Links for your server.
for ArcGIS 10 Server
http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Creating_a_KML_network_link_from_a_map_service/005300000038000000/
How can you find the URL for a particular service?