I've been researching this topic and can't find much about it. I know you can add KMZs from ArcServer or ArcGIS online. That is not what I want to do.
Is there a custom widget that imports a KML/KMZ to the WAB 1.3 as a temporary layer for users? I know this is available with shapefiles, but it would be nice with KMZs.
I could not find anything for this.
Could you -
- Use the "Create a custom widget" example to create a blank widget.
- Use drag n drop or "upload file" to move the KML to your server.
- Open up a kmllayer [KML | ArcGIS API for JavaScript ] and point it to the file you just pushed.
A lot of JS code for you to write I know.
I know of no widget that currently does anything like that.
I have never tried pointing a KMLLayer at a local file. There is a remote chance that might just work.