diff --git a/app/pods/components/object/md-extent/spatial/template.hbs b/app/pods/components/object/md-extent/spatial/template.hbs index e76247b33..27568ece5 100644 --- a/app/pods/components/object/md-extent/spatial/template.hbs +++ b/app/pods/components/object/md-extent/spatial/template.hbs @@ -59,7 +59,13 @@ profilePath=profilePath {{#leaflet-map lat=0 lng=0 zoom=2 maxZoom=18 onLoad=(action setupMap)}} {{!-- Specify child layer components here --}} {{#layer-group name="Terrain" baselayer=true default=true}} - {{tile-layer url="//stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png" attribution=mapAttribution}} + + {{!-- tile-layer url="http://{s}.tile.stamen.com/terrain/{z}/{x}/{y}.png" attribution=mapAttribution --}} + + {{!-- tile-layer url="//stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png" attribution=mapAttribution --}} + + {{tile-layer url="//tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png" attribution=mapAttribution}} + {{/layer-group}} {{#if geographicElement.length}} @@ -87,4 +93,4 @@ profilePath=profilePath {{/if}} - {{/layout/md-card}} + {{/layout/md-card}} \ No newline at end of file diff --git a/app/pods/record/show/index/template.hbs b/app/pods/record/show/index/template.hbs index fcd014910..3aa9dc3ca 100644 --- a/app/pods/record/show/index/template.hbs +++ b/app/pods/record/show/index/template.hbs @@ -99,7 +99,13 @@ {{#leaflet-map lat=0 lng=0 zoom=2 maxZoom=18 onLoad=(route-action "setupMap" extent.geographicExtent.0.geographicElement)}} {{!-- Specify child layer components here --}} {{#layer-group name="Terrain" baselayer=true default=true}} - {{tile-layer url="//stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png" attribution=mapAttribution}} + + {{!-- tile-layer url="http://{s}.tile.stamen.com/terrain/{z}/{x}/{y}.png" attribution=mapAttribution --}} + + {{!-- tile-layer url="//stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png" attribution=mapAttribution --}} + + {{tile-layer url="//tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png" attribution=mapAttribution}} + {{/layer-group}} {{#feature-group name="Features" default=true}} @@ -145,4 +151,4 @@ {{control/md-scroll-spy scrollInit=scrollTo setScrollTo=(route-action "setScrollTo") refresh=model.profile}} -{{/with}} +{{/with}} \ No newline at end of file diff --git a/lib/ember-leaflet-table/addon/components/leaflet-table.js b/lib/ember-leaflet-table/addon/components/leaflet-table.js index 23a9c423e..b105a6d9b 100644 --- a/lib/ember-leaflet-table/addon/components/leaflet-table.js +++ b/lib/ember-leaflet-table/addon/components/leaflet-table.js @@ -75,10 +75,19 @@ export default Component.extend(ResizeAware, { }], mapAttribution: [ '', + /* 'Map tiles by Stamen Design, ', 'under CC BY 3.0. ', 'Data by OpenStreetMap, ', 'under CC BY SA.', + */ + + // Update attribution based on recommendation from + // Stadia maps (https://docs.stadiamaps.com/attribution/#maps) + '© Stadia Maps, ', + '© OpenMapTiles, ', + '© OpenStreetMap contributors, ', + '© Stamen Design.', '' ].join(""), lat: 0, diff --git a/lib/ember-leaflet-table/addon/templates/components/leaflet-table.hbs b/lib/ember-leaflet-table/addon/templates/components/leaflet-table.hbs index 4c0bc5244..a8a60dcb7 100644 --- a/lib/ember-leaflet-table/addon/templates/components/leaflet-table.hbs +++ b/lib/ember-leaflet-table/addon/templates/components/leaflet-table.hbs @@ -5,8 +5,13 @@ {{#leaflet-draw lat=lat lng=lng zoom=zoom onLoad=(action "setup") editLayers=layers closeForm=(action "closeForm") showForm=(action "showForm")}} {{!-- Specify child layer components here --}} {{#layer-group name="Terrain" baselayer=true default=true}} - {{!-- {{tile-layer url="http://{s}.tile.stamen.com/terrain/{z}/{x}/{y}.png" attribution=mapAttribution}} --}} - {{tile-layer url="//stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png" attribution=mapAttribution}} + + {{!-- tile-layer url="http://{s}.tile.stamen.com/terrain/{z}/{x}/{y}.png" attribution=mapAttribution --}} + + {{!-- tile-layer url="//stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png" attribution=mapAttribution --}} + + {{tile-layer url="//tiles.stadiamaps.com/tiles/stamen_terrain/{z}/{x}/{y}.png" attribution=mapAttribution}} + {{/layer-group}} {{geojson-layer geoJSON=worldOverlay stroke=false color="#555555" fillOpacity=0.1}} @@ -75,4 +80,4 @@ {{feature-form model=formData}} {{/unless}} {{yield}} -{{/file-picker}} +{{/file-picker}} \ No newline at end of file diff --git a/public/CNAME b/public/CNAME new file mode 100644 index 000000000..62fe30d6f --- /dev/null +++ b/public/CNAME @@ -0,0 +1 @@ +go.mdeditor.org