function initOperationalLayer(map) { var content = "<b>Kommun</b>: ${KOMMUN}" + "<br /><b>Hemsida</b>: ${URL}"; var infoTemplate = new esri.InfoTemplate("Kommun_Centrum", content); var featureLayer = new esri.layers.FeatureLayer("http://localhost/ArcGIS/rest/services/Bredband/KommunCenter/MapServer/0",{ mode: esri.layers.FeatureLayer.MODE_ONDEMAND, outFields: ["*"], infoTemplate: infoTemplate }); map.addLayer(featureLayer); map.infoWindow.resize(200,105); mapLayers.push(featureLayer); }
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.