20,7 → 20,7 |
center:carteCentre, |
mapTypeId: 'OSM', |
mapTypeControlOptions: { |
mapTypeIds: ['OSM', |
mapTypeIds: ['OSM', |
google.maps.MapTypeId.ROADMAP, |
google.maps.MapTypeId.HYBRID, |
google.maps.MapTypeId.SATELLITE, |
35,7 → 35,7 |
}, |
osmMapType = new google.maps.ImageMapType({ |
getTileUrl: function(coord, zoom) { |
return "http://osm.tela-botanica.org/tile/" + // cache de tuiles avec nginx |
return "http://osm.tela-botanica.org/tuiles/osmfr/" + // cache de tuiles avec nginx |
zoom + "/" + coord.x + "/" + coord.y + ".png"; |
}, |
tileSize: new google.maps.Size(256, 256), |