Child tag specific to layers of types dynamic and tiles<sublayer> supports the following attributes:id???The ID, usually a number, of the sublayer within the map service.popupconfig???URL to the .xml configuration file of the pop-up window. See Pop-up configuration files for more information. [Added in version 2.3] definitionexpression???Limits the data to a subset of the available features in the map service layer. It's similar to the definition query for a layer in ArcMap.
<layer label="San Francisco 3-1-1 Incidents 2" type="dynamic" visible="false" alpha="1.0" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/SanFrancisco/311Incidents/MapServer" visiblelayers="0"> <sublayer id="0" popupconfig="popups/PopUp_311.xml" /> </layer>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.