I am trying to do the same thing but with for the info popup widget. If my type="dynamic" everything works fine but I can not get the info widget to work because it needs to be set to "feature". If I set the type="feature" I get nothing on my map. The strange thing is that although it is set to "dynamic" the search and esearch tools work and show a popup/zoom to the results after a querry. Anyone know why the results will have an info popup from a querry but i cant just click to get a popup in a dynamic layer with XY events layers?
To use the feature type you need to specify a particular layer within the map service by adding the layer number to the URL, e.g.:http://dalarcgis/ArcGIS/rest/services/permits/FeatureServer/0Start with http://dalarcgis/ArcGIS/rest/services/ and click through to the feature service, then the layer you want and copy the URL.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.