operationalLayers: [{ type: "feature", url: "http://xyz.com/arcgis/rest/services/xyz/xyz/0", options: { id: "Cable", title: "Cable", opacity: 1.0, visible: true, infoTemplate: new esri.InfoTemplate("Attributes", "${*}"), mode: esri.layers.FeatureLayer.MODE_SNAPSHOT }}]
infoTemplate: new esri.InfoTemplate("Attributes", "${*}"),
Someone put one together herehttps://github.com/DavidSpriggs/ConfigurableViewerJSAPIAnd this onehttps://github.com/agrc/AGRCJavaScriptProjectBoilerPlateI've only browsed them, but they're pretty good starting points.
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.