Skip to content

Commit ae6eb92

Browse files
committed
new OpenExternalMap widget.
1 parent b2f6e0e commit ae6eb92

File tree

6 files changed

+550
-1
lines changed

6 files changed

+550
-1
lines changed

config/openexternalmap.js

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
define({
2+
isDebug: false,
3+
4+
mapOptions: {
5+
basemap: 'topo',
6+
center: [-122.385, 37.615],
7+
zoom: 12,
8+
sliderStyle: 'small'
9+
},
10+
11+
titles: {
12+
header: 'CMV Open External Map Widget',
13+
subHeader: 'This is an example of using the Open External Map widget',
14+
pageTitle: 'CMV Open External Map Widget'
15+
},
16+
17+
panes: {
18+
left: {
19+
style: 'width:350px;'
20+
}
21+
},
22+
collapseButtonsPane: 'center', //center or outer
23+
24+
operationalLayers: [],
25+
26+
widgets: {
27+
growler: {
28+
include: true,
29+
id: 'growler',
30+
type: 'domNode',
31+
path: 'gis/dijit/Growler',
32+
srcNodeRef: 'growlerDijit',
33+
options: {}
34+
},
35+
externalmap: {
36+
include: true,
37+
id: 'externalmap',
38+
type: 'titlePane',
39+
canFloat: true,
40+
position: 0,
41+
path: 'widgets/OpenExternalMap',
42+
title: 'Open External Map',
43+
open: true,
44+
options: {
45+
map: true
46+
}
47+
},
48+
toggleStreetViewTiles: {
49+
include: true,
50+
type: 'invisible',
51+
path: 'widgets/ToggleStreetViewTiles',
52+
options: {
53+
map: true
54+
}
55+
}
56+
}
57+
});

0 commit comments

Comments
 (0)