Skip to content
Permalink
Browse files
Use recommended osm tile url for server API - Features and landingpage (
#42697)

* Use recommended osm tile url
  • Loading branch information
pathmapper committed Apr 8, 2021
1 parent 84e6bae commit ca0a8ae352853e20fd39fdca06ba4161ec830564
@@ -44,7 +44,7 @@ <h3>Links</h3>
<script type="text/javascript">
jQuery( document ).ready(function( $ ) {
var map = L.map('mapid').setView([0, 0], 13);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map)
var west = {{ extent.spatial.bbox.0.0 }};
@@ -5,7 +5,7 @@
<script type="text/javascript">
jQuery( document ).ready(function( $ ) {
var map = L.map('mapid').setView([0, 0], 13);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map)
$.get( "{{ metadata.geojsonUrl }}", function( data ) {
@@ -63,7 +63,7 @@
@ready="loadMap(project, $event)"
>
<l-tile-layer
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
url="https://tile.openstreetmap.org/{z}/{x}/{y}.png"
v-if="
project.capabilities.wmsOutputCrsList.includes('EPSG:3857')
"
@@ -45,7 +45,7 @@
>
<l-tile-layer
:visible="baseMap == 'openstreetmap'"
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
url="https://tile.openstreetmap.org/{z}/{x}/{y}.png"
v-if="
project &&
project.capabilities.wmsOutputCrsList.includes('EPSG:3857')
@@ -131,7 +131,7 @@ <h3>Links</h3>
<script type="text/javascript">
jQuery( document ).ready(function( $ ) {
var map = L.map('mapid').setView([0, 0], 13);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map)
var west = 8.203459307036344;
@@ -126,7 +126,7 @@ <h2><a href="http://server.qgis.org/wfs3/collections/testlayer èé/items/2.html
<script type="text/javascript">
jQuery( document ).ready(function( $ ) {
var map = L.map('mapid').setView([0, 0], 13);
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(map)
$.get( "http://server.qgis.org/wfs3/collections/testlayer%20%C3%A8%C3%A9/items.geojson", function( data ) {

0 comments on commit ca0a8ae

Please sign in to comment.