Skip to content

Commit

Permalink
fixed demos
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmtech committed Mar 16, 2018
1 parent e18ba58 commit e6d5092
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions demos/geodata-click-and-hover-events/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ var statusDiv = null;

var panel = browser.ui.addControl('status-panel',
'<div id="status-div">' +
'<div id="selected-status">Selectes: Nothing</>' +
'<div id="hover-status">Hovering over: Nothing</>' +
'<div id="selected-status">Selected: Nothing</div>' +
'<div id="hover-status">Hovering over: Nothing</div>' +
'</div>');

//get status-div element
Expand Down Expand Up @@ -218,3 +218,4 @@ function onFeatureClick(event) {
map.setGeodataSelection([event.feature['#id']]);
}


2 changes: 1 addition & 1 deletion demos/switching-geodata/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function onSwitchView() {
]
},
freeLayers: {
'mapzen-all-v1': {}
'osm-tilehosting-v1': {}
}
});
}
Expand Down

0 comments on commit e6d5092

Please sign in to comment.