|
|
| Ligne 1 : |
Ligne 1 : |
| if(document.getElementById('okotomap') != null) {
| | |
| var okotomap = L.map('okotomap', {crs: L.CRS.Simple}).setView([-256, 256], 1);
| |
| L.tileLayer('http://nuvapedia.fr/tilesetokoto/{z}/tile_{x}-{y}.jpg', {
| |
| minZoom: 1,
| |
| continuousWorld: true,
| |
| noWrap: true,
| |
| maxZoom: 4,
| |
| reuseTiles: true,
| |
| bounds: L.latLngBounds(L.latLng(-1,1),L.latLng(-511,511))
| |
| }).addTo(okotomap);
| |
| }
| |
| if(document.getElementById('okotocgimap') != null) {
| |
| var okotocgimap = L.map('okotocgimap', {crs: L.CRS.Simple}).setView([-127, 255], 1);
| |
| L.tileLayer('http://nuvapedia.fr/tilesetokotocgi/{z}/{x}-{y}.jpg', {
| |
| minZoom: 1,
| |
| continuousWorld: true,
| |
| noWrap: true,
| |
| maxZoom: 4,
| |
| reuseTiles: true,
| |
| bounds: L.latLngBounds(L.latLng(-1,1),L.latLng(-127,255))
| |
| }).addTo(okotocgimap);
| |
| }
| |