mirror of
https://github.com/Leaflet/Leaflet.Editable.git
synced 2025-07-23 00:23:20 +00:00
Merge pull request #225 from fupduck/update-example-tile-server
Update tile example server URL
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
var line = L.polyline([
|
||||
[43.1292, 1.256],
|
||||
|
@ -20,7 +20,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
var line = L.polyline([
|
||||
[43.1292, 1.256],
|
||||
|
@ -20,7 +20,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
var poly = L.polygon([
|
||||
[
|
||||
|
@ -20,7 +20,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
L.NewLineControl = L.Control.extend({
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
L.EditControl = L.Control.extend({
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
L.NewPolygonControl = L.Control.extend({
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
L.NewLineControl = L.Control.extend({
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> Tiles \u00a9 HOT'}).addTo(map);
|
||||
|
||||
L.NewLineControl = L.Control.extend({
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
<script type="text/javascript">
|
||||
var startPoint = [43.1249, 1.254];
|
||||
var map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> | Use Ctrl-Z to undo / Ctrl-Shift-Z to redo'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png', {maxZoom: 20, attribution: 'Data \u00a9 <a href="https://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a> | Use Ctrl-Z to undo / Ctrl-Shift-Z to redo'}).addTo(map);
|
||||
L.NewLineControl = L.Control.extend({
|
||||
|
||||
options: {
|
||||
|
@ -55,7 +55,7 @@
|
||||
<script>
|
||||
var startPoint = [43.1249, 1.254],
|
||||
map = L.map('map', {editable: true}).setView(startPoint, 16),
|
||||
tilelayer = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {maxZoom: 19, attribution: 'Data \u00a9 <a href="http://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a>'}).addTo(map);
|
||||
tilelayer = L.tileLayer('https://a.tile.openstreetmap.org/{z}/{x}/{y}.png', {maxZoom: 19, attribution: 'Data \u00a9 <a href="http://www.openstreetmap.org/copyright"> OpenStreetMap Contributors </a>'}).addTo(map);
|
||||
var runner = window.mocha.run(function (failures) {
|
||||
if (window.location.hash !== '#debug') qs('#mocha').style.display = 'block';
|
||||
console.log(failures);
|
||||
|
Reference in New Issue
Block a user