var it = new InfoTemplate(); it.setTitle("Low Income Housing Information"); it.setContent("<b>Score:</b>${Score}<br/>" + "<b>Name: </b>${Name}<br/>" + "<br><b>Address:</b> ${Address}<br>" ); var a = new FeatureLayer("http://gis-server.cc.wmich.edu/harcgis/rest/services/hdream/house/MapServer/0", { mode: FeatureLayer.MODE_SNAPSHOT, infoTemplate: it, } ); var b = new FeatureLayer("http://gis-server.cc.wmich.edu/harcgis/rest/services/hdream/kcountyborder/MapServer/1" ); map.addLayer(a) map.addLayer(b)
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.