[GIS] How to make the KML/KMZ accessible to the public

google-drivegoogle-maps-apikmlkmz

I created a basic web dashboard with MVC 4 that has a Google Map open on it. I have a KMZ file I made with ArcGIS desktop of a road in a Google Drive folder that i made publicly available so that i could take the URL of my file and implement that in MVC to overlay the KMZ file onto the Google Map, However when i run the process the dashboard opens up the Google Map on the correct spot however there is no shape file. The images attached show the code in MVC 4 that generates the Web dashboard, and the KMZ file sitting in the Google drive Folder. I am wondering if maybe there is not a problem with my script or if Google drive is the problem.

This is the URL to the KML: https://drive.google.com/file/d/0B4_TJdssPL1RRC13MTlzbjVPWHM/edit?usp=sharing

I am using MVC 4 and Google Javascript API v3

enter image description here

enter image description here

Best Answer

Create your own local server, kml file needs an http:// and then make sure the dashboard runs in firefox, google chrome could not display the data.