AnsweredAssumed Answered

Locale url

Question asked by Kappienl on Jul 24, 2013
Latest reply on Feb 20, 2015 by rscheitlin
//Stuk code voor invoegen infobox Sleutelbuizen           var infoWindowLite = new esri.dijit.InfoWindowLite(null, dojo.create("div", null, map.root));         infoWindowLite.startup();         map.setInfoWindow(infoWindowLite);                   var template = new esri.InfoTemplate();         template.setTitle("<b>Sleutelbuis</b>");         template.setContent("Map:${Map}");                  //voegt de sleutelbuizen toe aan de laag         var featureLayer = new esri.layers.FeatureLayer("http://server", {           mode: esri.layers.FeatureLayer.MODE_ONDEMAND,           infoTemplate:template,           outFields: ["Map"]         });         map.addLayer(featureLayer);          map.infoWindow.resize(200, 200);

Is it possible to make a local url to a path on my pc? {map} stands for the path the file is in. For example C:/documents

For example (offcourse this doesnt work): template.setContent("Map:<a href="${Map}">");