Skip to content

Commit

Permalink
Fixed baselayer URL concatenation
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenplieger committed Feb 1, 2018
1 parent 1977cce commit 675eed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ADAGUCViewerComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ class ReactWebMapJS extends Component {
let baselayers = [
// new WMJSLayer({ 'name': 'OSM', type: 'twms' }),
new WMJSLayer({
service: config.backendHost + './wms?dataset=baselayers&',
service: config.backendHost + '/wms?dataset=baselayers&',
name:'baselayer',
format:'image/png',
title:'Basemap',
enabled: true,
keepOnTop:false
}),
new WMJSLayer({
service: config.backendHost + './wms?dataset=baselayers&',
service: config.backendHost + '/wms?dataset=baselayers&',
name:'overlay',
format:'image/png',
title:'World country borders',
Expand Down

0 comments on commit 675eed0

Please sign in to comment.