var popup = Popup({ titleInBody: true, isEditable: true, pagingControls: true },domConstruct.create("div")); var template = new PopupTemplate({ title: "Landzones", description: "<b>Zoning is the following: {ZONING_NAME} with the code {ZONING_CODE}", fieldInfos: [{ //define field infos so we can specify an alias fieldName: "ZONING_NAME", label: "ZONING NAME" },{ fieldName: "ZONING_CODE", label: "ZONING CODE" },{ fieldName: "ZONING_TYPE", label: "ZONING TYPE" }] }); Landzones = new esri.layers.FeatureLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_LandRecords_Louisville/MapServer/2",{ mode: esri.layers.FeatureLayer.MODE_ONDEMAND, outFields: ["*"], infoTemplate:template });
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.