Commit 45b0875e authored by Vincent Dubois's avatar Vincent Dubois

Modification pour utilisation des serveurs de XSALTO (overpass et tuiles)

parent e6a37612
......@@ -263,7 +263,7 @@ var Geocropping = (function () {
worldCopyJump: true,
}).fitWorld();
this.notify = new MyNotification(this._map);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
L.tileLayer('https://osmtiles.xsalto.com/osm_tiles/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
maxZoom: this._map_maxZoom
}).addTo(this._map);
......
<?php
$data = http_build_query($_REQUEST);//$_REQUEST['data'];
$baseUrl = 'https://overpass-api.de/api/interpreter';
$baseUrl = 'https://osmoverpass.xsalto.com/api/interpreter';
//$baseUrl = 'https://overpass-api.de/api/interpreter';
$url = "$baseUrl?$data";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment