From e6d50926b478937fe84cb5940dd80dbf00ee4be3 Mon Sep 17 00:00:00 2001 From: David Levinsky Date: Fri, 16 Mar 2018 11:00:39 +0100 Subject: [PATCH] fixed demos --- demos/geodata-click-and-hover-events/demo.js | 5 +++-- demos/switching-geodata/demo.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/demos/geodata-click-and-hover-events/demo.js b/demos/geodata-click-and-hover-events/demo.js index 7a2d1132..14abecff 100644 --- a/demos/geodata-click-and-hover-events/demo.js +++ b/demos/geodata-click-and-hover-events/demo.js @@ -25,8 +25,8 @@ var statusDiv = null; var panel = browser.ui.addControl('status-panel', '
' + - '
Selectes: Nothing' + - '
Hovering over: Nothing' + + '
Selected: Nothing
' + + '
Hovering over: Nothing
' + '
'); //get status-div element @@ -218,3 +218,4 @@ function onFeatureClick(event) { map.setGeodataSelection([event.feature['#id']]); } + diff --git a/demos/switching-geodata/demo.js b/demos/switching-geodata/demo.js index 1e6d13a7..c5187cf1 100755 --- a/demos/switching-geodata/demo.js +++ b/demos/switching-geodata/demo.js @@ -62,7 +62,7 @@ function onSwitchView() { ] }, freeLayers: { - 'mapzen-all-v1': {} + 'osm-tilehosting-v1': {} } }); }