Skip to content

Commit

Permalink
Use preferred tile.openstreetmap.org URL, use direct HTTPS URL for Op…
Browse files Browse the repository at this point in the history
…enStreetMap copyright.
  • Loading branch information
danieldegroot2 authored and frodrigo committed Nov 11, 2023
1 parent 0bf43ed commit 30ea99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/static/map/layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import Mapillary from './Mapillary'
import 'leaflet-plugins/layer/tile/Bing'

const osmAttribution =
'&copy <a href="http:https://osm.org/copyright">OpenStreetMap</a> contributors'
'&copy <a href="https:https://openstreetmap.org/copyright">OpenStreetMap</a> contributors'
export const mapBases = {
// OpenStreetMap
carto: L.tileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
carto: L.tileLayer('//tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: osmAttribution,
}),
CyclOSM: L.tileLayer(
Expand Down

0 comments on commit 30ea99a

Please sign in to comment.