Subversion Repositories eFlore/Applications.cel

Compare Revisions

Ignore whitespace Rev 2286 → Rev 2287

/trunk/widget/modules/cartopoint/squelettes/scripts/carto.js
18,7 → 18,7
carteOptions = {
zoom: 3,
center:carteCentre,
mapTypeId: google.maps.MapTypeId.ROADMAP,
mapTypeId: 'OSM',
mapTypeControlOptions: {
mapTypeIds: ['OSM',
google.maps.MapTypeId.ROADMAP,
34,7 → 34,7
},
osmMapType = new google.maps.ImageMapType({
getTileUrl: function(coord, zoom) {
return "http://tile.openstreetmap.org/" +
return "http://osm.tela-botanica.org/tile/" + // cache de tuiles avec nginx
zoom + "/" + coord.x + "/" + coord.y + ".png";
},
tileSize: new google.maps.Size(256, 256),
/trunk/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: google.maps.MapTypeId.ROADMAP,
mapTypeId: 'OSM',
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://tile.openstreetmap.org/" +
return "http://osm.tela-botanica.org/tile/" + // cache de tuiles avec nginx
zoom + "/" + coord.x + "/" + coord.y + ".png";
},
tileSize: new google.maps.Size(256, 256),