Skip to content

Commit

Permalink
Expanded overlay support
Browse files Browse the repository at this point in the history
Overlays are now added to the tabs control with a checkbox to toggle
visibility in the map. Overlay features on the map are linked to the
HTML table representation.
  • Loading branch information
jvanulde committed Jan 30, 2013
1 parent feca332 commit e5cc79b
Show file tree
Hide file tree
Showing 3 changed files with 262 additions and 228 deletions.
4 changes: 2 additions & 2 deletions demos/geomap/geomap-eng.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ <h1 id="wb-cont">Geomap</h1>

<div class="span-12">
<div class="span-4 row-start">
<div class="wet-boew-geomap span-4 border-all position scaleline layerswitcher" data-wet-boew="{ tables: ['cityE', 'cityW', 'bbox'], features:[ 'POINT (-100, 50)', 'POLYGON ((-120 54, -111 54, -111 50, -120 50, -120 54))', 'LINESTRING (-110 63, -105 60, -100 63)' ] }"></div>
<div class="wet-boew-geomap span-4 border-all position scaleline" data-wet-boew="{ tables: ['cityE', 'cityW', 'bbox'], features:[ 'POINT (-100, 50)', 'POLYGON ((-120 54, -111 54, -111 50, -120 50, -120 54))', 'LINESTRING (-110 63, -105 60, -100 63)' ] }"></div>
</div>
<div class="wet-boew-tabbedinterface span-4 row-end">
<div id="wet-boew-geomap-layers" class="wet-boew-tabbedinterface span-4 row-end">
<ul class="tabs">
<li class="default"><a href="#tabs1_1">Maritime Cities</a></li>
<li><a href="#tabs1_2">Western Cities</a></li>
Expand Down
2 changes: 1 addition & 1 deletion src/js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var wet_boew_geomap = {
title: 'KML Demo',
type: 'kml',
url: 'data/sample.kml',
visible: false
visible: true
},
{
title: 'ATOM Demo',
Expand Down
Loading

0 comments on commit e5cc79b

Please sign in to comment.