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 });
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.