Web Intelligent Solutions
EnglishRomana
font size Increase font size Default font size Decrease font size
screen size Narrow screen resolution Wide screen resolution Auto adjust screen size
Home arrow WISroGIS Tutorials arrow Bucharest city map - OpenStreetMap layers

Bucharest city map - OpenStreetMap layers

Print E-mail

WISroGIS renders several layers from OpenStreetMap, completed with OpenStreetMap routing extension:

  • Mapnik
  • Osmarender
  • Cycle map as TMS layer
  • CloudMade as TMS layer

Status: ready

Powered by WISroGIS 1.11 Zeus

 

 {WISroGIS center_lon='26.102753'|center_lat='44.436131'| ...

baseLayer='OSM.Mapnik("OpenStreetMap Mapnik",{opacity:1.00})'|

baseLayer='OSM.Osmarender("OpenStreetMap Osmarender",{visibility:false,opacity:1.00})' |

baseLayer='TMS("OpenStreetMap Cycle Map", ["http://a.andy.sandbox.cloudmade.com/tiles/cycle/","http://b.andy.sandbox.cloudmade.com/tiles/cycle/", "http://c.andy.sandbox.cloudmade.com/tiles/cycle/"], { type: "png", getURL: getTileURL, displayOutsideMaxExtent: true, attribution: cycleattrib, transitionEffect: "resize"})'|

baseLayer='TMS("OpenStreetMap CloudMade", ["http://a.tile.cloudmade.com/8bafab36916b5ce6b4395ede3cb9ddea/1/256/", "http://b.tile.cloudmade.com/8bafab36916b5ce6b4395ede3cb9ddea/1/256/", "http://c.tile.cloudmade.com/8bafab36916b5ce6b4395ede3cb9ddea/1/256/"],{ type: "png", getURL: getTileURL, displayOutsideMaxExtent: true, attribution: cmstandardattrib, transitionEffect: "resize"})'|

 

TMSscript='var cycleattrib = "",cmstandardattrib=""; function getTileURL(bounds) { var res = this.map.getResolution();  var x = Math.round((bounds.left - this.maxExtent.left) / (res * this.tileSize.w)); var y = Math.round((this.maxExtent.top - bounds.top) / (res * this.tileSize.h)); var z = this.map.getZoom(); var limit = Math.pow(2, z); if (y < 0 @@ y >= limit) { return null; } else { x = ((x % limit) + limit) % limit; var url = this.url; var path = z + "/" + x + "/" + y + ".png"; if (url instanceof Array) { url = this.selectUrl(path, url);} return url + path;}}' ... ~}


Digg!Del.icio.us!Technorati!Yahoo!Ma.gnolia!
 
< Prev   Next >
  • Trumpet International made use the WIS.ro for both our website design and mapping component. The service was excellent and for us, we will most definately…
  • On behalf of the Board of Directors of Algal Engineering Ltd., I would like to take this opportunity and express our happiness for the quality…
  • Va trimitem prezenta scrisoare pentru a va multumi pentru promptitudinea si rapiditatea cu care ne-ati raspuns cerintelor noastre. Apreciem calitatea serviciilor dumeavoastra, calitatea modului in…
  • Societatea Romana de ORL - Revista Societatii de ORL apreciaza colaborarea cu firma dvs., calitatea serviciilor si promptitudinea cu care ne-ati onorat contractul. Dorim in…
  • A Stategic Tool By creating this tool Mr. Cristi Teodoreanu is about to bring Mapping to all the developing countries that do not have the financial…