-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
158 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
define({ | ||
isDebug: false, | ||
|
||
mapOptions: { | ||
basemap: 'topo', | ||
center: [-120.0417, 39.0917], | ||
zoom: 10, | ||
sliderStyle: 'small' | ||
}, | ||
|
||
titles: { | ||
header: 'CMV Elevation Profile Example', | ||
subHeader: 'This is an example of using the Elevation Profile widget', | ||
pageTitle: 'CMV Elevation Profile Widget' | ||
}, | ||
|
||
collapseButtonsPane: 'center', //center or outer | ||
|
||
panes: { | ||
bottom: { | ||
id: 'sidebarBottom', | ||
placeAt: 'outer', | ||
splitter: true, | ||
collapsible: true, | ||
region: 'bottom', | ||
open: 'none', // using false doesn't work | ||
style: 'height: 350px', | ||
content: '<div id="attributesContainer"></div>' | ||
} | ||
}, | ||
|
||
operationalLayers: [], | ||
|
||
widgets: { | ||
growler: { | ||
include: true, | ||
id: 'growler', | ||
type: 'domNode', | ||
path: 'gis/dijit/Growler', | ||
srcNodeRef: 'growlerDijit', | ||
options: {} | ||
}, | ||
elevationProfile: { | ||
include: true, | ||
type: 'titlePane', | ||
path: 'widgets/ElevationProfile', | ||
canFloat: true, | ||
title: 'Elevation Profile', | ||
iconClass: 'fa fa-fw fa-area-chart', | ||
open: true, | ||
position: 0, | ||
options: { | ||
map: true | ||
} | ||
}, | ||
|
||
attributesTable: { | ||
include: true, | ||
id: 'attributesContainer', | ||
type: 'domNode', | ||
srcNodeRef: 'attributesContainer', | ||
path: 'widgets/AttributesTable', | ||
options: { | ||
map: true, | ||
mapClickMode: true, | ||
|
||
// use a tab container for multiple tables or | ||
// show only a single table | ||
useTabs: true, | ||
|
||
// used to open the sidebar after a query has completed | ||
sidebarID: 'sidebarBottom' | ||
} | ||
} | ||
|
||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
define({ | ||
isDebug: false, | ||
|
||
mapOptions: { | ||
basemap: 'streets', | ||
center: [-96.59179687497497, 39.09596293629694], | ||
zoom: 5, | ||
sliderStyle: 'small' | ||
}, | ||
|
||
titles: { | ||
header: 'CMV Locator Control Widget', | ||
subHeader: 'This is an example of using the Locator Control widget', | ||
pageTitle: 'CMV Locator Conntrol Widget' | ||
}, | ||
|
||
panes: { | ||
left: { | ||
collapsible: false, | ||
style: 'display:none' | ||
} | ||
}, | ||
collapseButtonsPane: 'center', //center or outer | ||
|
||
operationalLayers: [], | ||
|
||
widgets: { | ||
growler: { | ||
include: true, | ||
id: 'growler', | ||
type: 'domNode', | ||
path: 'gis/dijit/Growler', | ||
srcNodeRef: 'growlerDijit', | ||
options: {} | ||
}, | ||
locateButton: { | ||
include: true, | ||
id: 'locateButton', | ||
type: 'domNode', | ||
path: 'gis/dijit/LocateButton', | ||
srcNodeRef: 'homeButton', | ||
options: { | ||
map: true, | ||
scale: 1000, | ||
highlightLocation: true, | ||
useTracking: false, | ||
clearOnTrackingStop: true, | ||
geolocationOptions: { | ||
maximumAge: 0, | ||
timeout: 5000, | ||
enableHighAccuracy: true | ||
} | ||
} | ||
}, | ||
locatorControl: { | ||
include: true, | ||
id: 'locatorControl', | ||
type: 'floating', | ||
path: 'widgets/LocatorControl', | ||
title: 'Locator Settings', | ||
iconClass: 'fa-compass', | ||
preload: true, | ||
options: { | ||
html: '<i class="fa fa-compass fa-3x" style="cursor:pointer;"></i>', | ||
domTarget: 'locateButton', | ||
openOnStartup: true | ||
} | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters