Adding KML URL using the Add Data Widget

730
0
07-05-2017 07:05 AM
AnthonyGiles
Frequent Contributor

Why does the add data widget default to the online utility service (https://utility.arcgis.com/sharing/kml ) when trying to add KML data via a URL?

If I am running an application using my Portal for all its layers in a disconnected environment then I would expect the widget to use the utility service on my local Portal in the same way the Portal Map Viewer does. I can see that I can go into the KMLLayer.js in my locally hosted JS API and hard code my portal's utility service and this works ok.

Would it not be better for the constructor of a new KMLLayer to have the ability of specifying the utility service to be used? 

0 Kudos
0 Replies