Use https for www.openstreetmap.org
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<description>Created from OpenStreetMap data. Renderer v0.5</description>
|
<description>Created from OpenStreetMap data. Renderer v0.5</description>
|
||||||
<!--
|
<!--
|
||||||
Copyright (c) OpenStreetMap Contributors
|
Copyright (c) OpenStreetMap Contributors
|
||||||
http://www.openstreetmap.org/
|
https://www.openstreetmap.org/
|
||||||
|
|
||||||
This work is licensed under the
|
This work is licensed under the
|
||||||
Creative Commons Attribution-ShareAlike 2.0 License.
|
Creative Commons Attribution-ShareAlike 2.0 License.
|
||||||
@@ -13,7 +13,7 @@ http://creativecommons.org/licenses/by-sa/2.0/
|
|||||||
<ScreenOverlay id="CopyrightNotice">
|
<ScreenOverlay id="CopyrightNotice">
|
||||||
<name>Copyright Notice</name>
|
<name>Copyright Notice</name>
|
||||||
<description>
|
<description>
|
||||||
<![CDATA[The data in this KML file is Copyright <a href="http://www.openstreetmap.org/">OpenStreetMap</a> Contributors. It is available under the <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons Attribution-ShareAlike (CC-BY-SA) Version 2.0 License</a>.]]>
|
<![CDATA[The data in this KML file is Copyright <a href="https://www.openstreetmap.org/">OpenStreetMap</a> Contributors. It is available under the <a href="http://creativecommons.org/licenses/by-sa/2.0/">Creative Commons Attribution-ShareAlike (CC-BY-SA) Version 2.0 License</a>.]]>
|
||||||
</description>
|
</description>
|
||||||
<Snippet>Copyright (c) OpenStreetMap Contributors. CC-BY-SA 2.0 License.</Snippet>
|
<Snippet>Copyright (c) OpenStreetMap Contributors. CC-BY-SA 2.0 License.</Snippet>
|
||||||
<Icon>
|
<Icon>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ var map = new ol.Map({
|
|||||||
preload: Infinity,
|
preload: Infinity,
|
||||||
source: new ol.source.VectorTile({
|
source: new ol.source.VectorTile({
|
||||||
attributions: '© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> ' +
|
attributions: '© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> ' +
|
||||||
'© <a href="http://www.openstreetmap.org/copyright">' +
|
'© <a href="https://www.openstreetmap.org/copyright">' +
|
||||||
'OpenStreetMap contributors</a>',
|
'OpenStreetMap contributors</a>',
|
||||||
format: new ol.format.MVT(),
|
format: new ol.format.MVT(),
|
||||||
tileGrid: new ol.tilegrid.TileGrid({
|
tileGrid: new ol.tilegrid.TileGrid({
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ var map = new ol.Map({
|
|||||||
new ol.layer.VectorTile({
|
new ol.layer.VectorTile({
|
||||||
source: new ol.source.VectorTile({
|
source: new ol.source.VectorTile({
|
||||||
attributions: '© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> ' +
|
attributions: '© <a href="https://www.mapbox.com/map-feedback/">Mapbox</a> ' +
|
||||||
'© <a href="http://www.openstreetmap.org/copyright">' +
|
'© <a href="https://www.openstreetmap.org/copyright">' +
|
||||||
'OpenStreetMap contributors</a>',
|
'OpenStreetMap contributors</a>',
|
||||||
format: new ol.format.MVT(),
|
format: new ol.format.MVT(),
|
||||||
tileGrid: ol.tilegrid.createXYZ({maxZoom: 22}),
|
tileGrid: ol.tilegrid.createXYZ({maxZoom: 22}),
|
||||||
|
|||||||
@@ -888,7 +888,7 @@ olx.control.AttributionOptions.prototype.target;
|
|||||||
/**
|
/**
|
||||||
* Specify if attributions can be collapsed. If you use an OSM source,
|
* Specify if attributions can be collapsed. If you use an OSM source,
|
||||||
* should be set to `false` — see
|
* should be set to `false` — see
|
||||||
* {@link http://www.openstreetmap.org/copyright OSM Copyright} —
|
* {@link https://www.openstreetmap.org/copyright OSM Copyright} —
|
||||||
* Default is `true`.
|
* Default is `true`.
|
||||||
* @type {boolean|undefined}
|
* @type {boolean|undefined}
|
||||||
* @api
|
* @api
|
||||||
|
|||||||
@@ -56,6 +56,6 @@ ol.inherits(ol.source.OSM, ol.source.XYZ);
|
|||||||
*/
|
*/
|
||||||
ol.source.OSM.ATTRIBUTION = new ol.Attribution({
|
ol.source.OSM.ATTRIBUTION = new ol.Attribution({
|
||||||
html: '© ' +
|
html: '© ' +
|
||||||
'<a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> ' +
|
'<a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> ' +
|
||||||
'contributors.'
|
'contributors.'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user