Subversion Repositories eFlore/Applications.coel

Rev

Rev 1834 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1834 Rev 1947
Line 6... Line 6...
6
},
6
},
7
optionsCoucheGoogle = {
7
optionsCoucheGoogle = {
8
	attribution: 'Map data &copy;'+new Date().getFullYear()+' <a href="http://maps.google.com">Google</a>',
8
	attribution: 'Map data &copy;'+new Date().getFullYear()+' <a href="http://maps.google.com">Google</a>',
9
	maxZoom: 18
9
	maxZoom: 18
10
},
10
},
11
coucheOSM = new L.TileLayer("http://osm.tela-botanica.org/tuiles/osmfr/{z}/{x}/{y}.png",
11
coucheOSM = new L.TileLayer("https://osm.tela-botanica.org/tuiles/osmfr/{z}/{x}/{y}.png",
12
		optionsCoucheOSM),
12
		optionsCoucheOSM),
13
coucheSatellite = new L.TileLayer("http://mt1.google.com/vt/lyrs=y@218131653&hl=fr&src=app&x={x}&y={y}&z={z}",
13
coucheSatellite = new L.TileLayer("https://mt1.google.com/vt/lyrs=y@218131653&hl=fr&src=app&x={x}&y={y}&z={z}",
14
	optionsCoucheGoogle),
14
	optionsCoucheGoogle),
15
optionsCarte = {
15
optionsCarte = {
16
	center : new L.LatLng(46, 2),
16
	center : new L.LatLng(46, 2),
17
	zoom : 6,
17
	zoom : 6,
18
	layers : [coucheOSM]
18
	layers : [coucheOSM]