3 Replies Latest reply: Nov 15, 2015 10:14 AM by Anna Tarantini RSS

    openrailwaymap in qlikview

      I have to implement this openrailwaymap in qlikview, in particulary in the attached code (Script.js or OpenLayers.js)



      i've found that to implement openrailwaymap it's necessary to do like this:

      Usage in OpenLayers


      var openrailwaymap = new OpenLayers.Layer.XYZ("OpenRailwayMap", ["http://a.tiles.openrailwaymap.org/standard/${z}/${x}/${y}.png","http://b.tiles.openrailwaymap.org/standard/${z}/${x}/${y}.png","http://c.tiles.openrailwaymap.org/standard/${z}/${x}/${y}.png"], {

      sphericalMercator: true,

      opacity: 1,

      visibility: false,

      transparent: true,

      noOpaq: true,

      isBaseLayer: false,

      attribution: "<a href="http://www.openstreetmap.org/copyright">© OpenStreetMap contributors</a>, Style: <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA 2.0</a> <a href="http://www.openrailwaymap.org/">OpenRailwayMap</a> and OpenStreetMap" });




      Now, I have this two javascript code, script.js and openlayers.js, how and mostly, WHERE i must modify the two javascript codes, inserting the overlay code ?