Subversion Repositories eFlore/Applications.cel

Rev

Rev 2322 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2322 Rev 2324
Line 23... Line 23...
23
	scaleControl: true
23
	scaleControl: true
24
};			
24
};			
25
var ctaLayer = null;
25
var ctaLayer = null;
26
var osmMapType = new google.maps.ImageMapType({
26
var osmMapType = new google.maps.ImageMapType({
27
	getTileUrl: function(coord, zoom) {
27
	getTileUrl: function(coord, zoom) {
28
		return "http://osm.tela-botanica.org/tile/" + // cache de tuiles avec nginx
28
		return "http://osm.tela-botanica.org/tuiles/osmfr/" + // cache de tuiles avec nginx
29
		zoom + "/" + coord.x + "/" + coord.y + ".png";
29
		zoom + "/" + coord.x + "/" + coord.y + ".png";
30
	},
30
	},
31
	tileSize: new google.maps.Size(256, 256),
31
	tileSize: new google.maps.Size(256, 256),
32
	isPng: true,
32
	isPng: true,
33
	alt: "OpenStreetMap",
33
	alt: "OpenStreetMap",