Update map.js to use correct tile.osm.org URL

See: https://github.com/openstreetmap/operations/issues/737
This commit is contained in:
Grant 2023-09-02 17:37:19 +01:00 committed by Brad Fitzpatrick
parent 498fcaa7c3
commit 199456cf97
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ cam.MapAspect = React.createClass({
this.eh_ = new goog.events.EventHandler(this); this.eh_ = new goog.events.EventHandler(this);
var map = this.map = L.map(ReactDOM.findDOMNode(this), { var map = this.map = L.map(ReactDOM.findDOMNode(this), {
layers: [ layers: [
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}) })
], ],