Skip to content

Commit

Permalink
Merge pull request #97 from DavidLevinsky/master
Browse files Browse the repository at this point in the history
Fixed demos
  • Loading branch information
davidmtech authored Mar 16, 2018
2 parents fa3c626 + e6d5092 commit dcb64ea
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 dcb64ea

Please sign in to comment.