mirror of https://github.com/perkeep/perkeep.git
Update map.js to use correct tile.osm.org URL
See: https://github.com/openstreetmap/operations/issues/737
This commit is contained in:
parent
498fcaa7c3
commit
199456cf97
|
@ -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'
|
||||||
})
|
})
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue