BrianBunker / cmv-widgets

Widgets based on the Esri jsapi, configured for the Configurable Map Viewer. Widgets include Drag and Drop, Goto, Map Navigation Hash, and Nearby.
https://brianbunker.github.com/cmv-widgets
MIT License
18 stars 24 forks source link

I try the KML drag and drop compatibilities? no success #32

Open GilbertLasnier opened 8 years ago

GilbertLasnier commented 8 years ago

Hello Tim, Thanks for your work for the kml drag and drop I copy all the code on my server and i try , The Browse file don't see the KML, so i put in the DnD,html the type file .kml in two files after now i see the kml but they dont Open?

and i save...After i try many kind of kml and the one in your sample data, i don't know what is wrong? Take a look of my screen shot...Thanks again for your time and effort... YOU MUST TRY YOUR SELF ON THAT LINK,,, http://gis.icao.int/kmltmc/#/-99.8916/38.4939/4 The csv work and the shp but the cctv.kml doesn't work but work in Google Earth kml1 kml2

tmcgee commented 8 years ago

@GilbertLasnier Did you setup a proxy?

From the DND readme page: NOTE: A proxy page may be required for some files like KML due to the arcgis.com conversion service used.

GilbertLasnier commented 8 years ago

No I don't make a proxy... Do you try you on your demo if it its working i don't know how to make a proxy... I never do that do you have some tutorial to do that?

tmcgee commented 8 years ago

@GilbertLasnier It does work in my applications. My clients are using it everyday.

This is the proxy that most people use. https://github.com/Esri/resource-proxy

GilbertLasnier commented 8 years ago

Thanks for the link for the proxy, I try to do that Thanks again for you super fast anwser