/branches/v2.3-faux/widget/modules/cartopoint/squelettes/scripts/carto.js |
---|
18,7 → 18,7 |
carteOptions = { |
zoom: 3, |
center:carteCentre, |
mapTypeId: 'OSM', |
mapTypeId: google.maps.MapTypeId.ROADMAP, |
mapTypeControlOptions: { |
mapTypeIds: ['OSM', |
google.maps.MapTypeId.ROADMAP, |
34,7 → 34,7 |
}, |
osmMapType = new google.maps.ImageMapType({ |
getTileUrl: function(coord, zoom) { |
return "http://osm.tela-botanica.org/tile/" + // cache de tuiles avec nginx |
return "http://tile.openstreetmap.org/" + |
zoom + "/" + coord.x + "/" + coord.y + ".png"; |
}, |
tileSize: new google.maps.Size(256, 256), |
/branches/v2.3-faux/widget/modules/carto/squelettes/scripts/carto.js |
---|
12,7 → 12,7 |
var carteCentre = new google.maps.LatLng(46.4, 3.10); |
var carteOptions = { |
zoom: 6, |
mapTypeId: 'OSM', |
mapTypeId: google.maps.MapTypeId.ROADMAP, |
mapTypeControlOptions: { |
mapTypeIds: ['OSM', |
google.maps.MapTypeId.ROADMAP, |
24,7 → 24,7 |
var ctaLayer = null; |
var osmMapType = new google.maps.ImageMapType({ |
getTileUrl: function(coord, zoom) { |
return "http://osm.tela-botanica.org/tile/" + // cache de tuiles avec nginx |
return "http://tile.openstreetmap.org/" + |
zoom + "/" + coord.x + "/" + coord.y + ".png"; |
}, |
tileSize: new google.maps.Size(256, 256), |