Select to view content in your preferred language

In the drag and drop example, infoTemplate for my map services?

2354
0
11-13-2015 08:48 AM
TracySchloss
Frequent Contributor

In the example for dragging and dropping features onto a map, it says it supports CSV, images, map and feature services. It was unclear to me how you might drag a map service, but I tried dragging it from a window of my rest services and it worked just fine.  Very cool - I had no idea that was part of the functionality.  I'm sure this is generally overlooked, since the example is based on a CSV file. 

Mostly I have map services that I load as featureLayers, as opposed to authoring featureservices.  In the code, it looks like it generates a generic infoTemplate, but when I click on the map, I don't get any information.  Am I misunderstanding how that should work?  I think my map service is getting loading as a featureLayer, but maybe not. 

Drag and drop to display data | ArcGIS API for JavaScript

0 Kudos
0 Replies