diff --git a/examples/common/css/examples.css b/examples/common/css/examples.css index 07b63092e3..7775bf6e82 100644 --- a/examples/common/css/examples.css +++ b/examples/common/css/examples.css @@ -4,8 +4,9 @@ html, body { } #map { + top: -21px; width: 100%; height: calc(100% - 60px); - position: absolute; - top: 60px; + position: relative; + overflow: hidden; } diff --git a/examples/contour/main.js b/examples/contour/main.js index 180354844a..a4660633d9 100644 --- a/examples/contour/main.js +++ b/examples/contour/main.js @@ -58,7 +58,7 @@ $(function () { x: -157.965, y: 21.482 }, - zoom: 8 + zoom: 10 }); // Add the osm layer diff --git a/examples/dynamicData/main.js b/examples/dynamicData/main.js index 213b1aaee1..baccf30239 100644 --- a/examples/dynamicData/main.js +++ b/examples/dynamicData/main.js @@ -3,7 +3,7 @@ $(function () { 'use strict'; // Create a map object - var map = geo.map({node: '#map'}); + var map = geo.map({node: '#map', zoom: 3}); // Add and start a clock var clock = map.clock(); diff --git a/examples/geoJSON/main.css b/examples/geoJSON/main.css index 1104cb952f..ed22ff5641 100644 --- a/examples/geoJSON/main.css +++ b/examples/geoJSON/main.css @@ -1,7 +1,7 @@ .CodeMirror { - position: absolute; + position: absolute !important; left: 10px; - top: 1px; + top: 80px; width: calc(50% - 10px); height: calc(100% - 100px) !important; z-index: 50; diff --git a/examples/geoJSON/main.js b/examples/geoJSON/main.js index 585b84532a..17b163579e 100644 --- a/examples/geoJSON/main.js +++ b/examples/geoJSON/main.js @@ -10,7 +10,7 @@ $(function () { x: -125, y: 36.5 }, - zoom: 1 + zoom: 4 }); // Add the osm layer with a custom tile url diff --git a/examples/hurricanes/main.js b/examples/hurricanes/main.js index 2957b90602..f2db2ae2d5 100644 --- a/examples/hurricanes/main.js +++ b/examples/hurricanes/main.js @@ -349,7 +349,7 @@ $(function () { x: 0, y: 0 }, - zoom: 0 + zoom: 3 }); // Add the osm layer with a custom tile url diff --git a/examples/jquery-plugin/main.js b/examples/jquery-plugin/main.js index 038a446a64..c9edf7b436 100644 --- a/examples/jquery-plugin/main.js +++ b/examples/jquery-plugin/main.js @@ -20,7 +20,7 @@ $(function () { x: -100, y: 40 }, - zoom: 1, + zoom: 4, layers: [{ renderer: 'd3', features: [{ diff --git a/examples/layerEvents/main.js b/examples/layerEvents/main.js index 773b820b85..dea29ee83c 100644 --- a/examples/layerEvents/main.js +++ b/examples/layerEvents/main.js @@ -37,7 +37,7 @@ $(function () { x: -98.0, y: 39.5 }, - zoom: 1 + zoom: 4 }); // Add a base layer diff --git a/examples/layers/main.js b/examples/layers/main.js index f8357601a4..d4c6d7f27c 100644 --- a/examples/layers/main.js +++ b/examples/layers/main.js @@ -125,7 +125,7 @@ $(function () { x: -98.0, y: 39.5 }, - zoom: 1 + zoom: 4 }); // Add a base layer diff --git a/examples/legend/main.js b/examples/legend/main.js index a8a000a103..be05ed89b2 100644 --- a/examples/legend/main.js +++ b/examples/legend/main.js @@ -4,7 +4,8 @@ $(function () { // Create a map object var map = geo.map({ - node: '#map' + node: '#map', + zoom: 3 }); // Add the osm layer with a custom tile url diff --git a/examples/osm/main.js b/examples/osm/main.js index cf5004a8f1..a6afb68e04 100644 --- a/examples/osm/main.js +++ b/examples/osm/main.js @@ -9,7 +9,7 @@ $(function () { x: -98.0, y: 39.5 }, - zoom: 1 + zoom: 3 }); // Add the osm layer with a custom tile url diff --git a/examples/picking/example.json b/examples/picking/example.json deleted file mode 100644 index 7ade12e821..0000000000 --- a/examples/picking/example.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "path": "picking", - "title": "Mouse picking for points and lines", - "exampleCss": ["main.css"], - "exampleJs": ["main.js", "widget.js"], - "about": { - "text": "This example demonstrates how to attach handlers to various mouse interactions that allow the users to select features. Try moving the mouse over the features and clicking. Also try shift-click and draging to select a region" - } -} diff --git a/examples/picking/main.js b/examples/picking/main.js index 40b9a47973..8c2bca453f 100644 --- a/examples/picking/main.js +++ b/examples/picking/main.js @@ -9,7 +9,7 @@ $(function () { x: -98.0, y: 39.5 }, - zoom: 2 + zoom: 4 }), over = 0; diff --git a/examples/points/main.js b/examples/points/main.js index 379d532a91..a91f407aad 100644 --- a/examples/points/main.js +++ b/examples/points/main.js @@ -49,7 +49,7 @@ $(function () { x: -98.0, y: 39.5 }, - zoom: 2 + zoom: 4.9 }); // Create an osm layer with custom tile url for a white background. diff --git a/examples/ui/main.js b/examples/ui/main.js index d2b7031c18..d1804675a5 100644 --- a/examples/ui/main.js +++ b/examples/ui/main.js @@ -9,7 +9,7 @@ $(function () { x: -98.0, y: 39.5 }, - zoom: 1 + zoom: 4 }); // Add the osm layer diff --git a/examples/wms/main.js b/examples/wms/main.js index 414d58cd1c..413358a24a 100644 --- a/examples/wms/main.js +++ b/examples/wms/main.js @@ -5,7 +5,7 @@ $(function () { // Create a map object var map = geo.map({ node: '#map', - zoom: 2, + zoom: 4, center: {x: -98.0, y: 39.5} });