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.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.