-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.py
81 lines (76 loc) · 2.2 KB
/
types.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# GeoPrisma constants
APPLICATION_TYPES = (
(1, 'ExtJS'),
)
WIDGET_TYPES = (
# 1 => 'quickzoom', // removed
# (2, 'Map'), do not use this in django.
(3, 'MapFishLayerTree'),
(4, 'MapFishRecenter'),
(5, 'MeasureTool'),
# 6 => 'toolbar', // removed
(7, 'QueryonClick'),
# 8 => 'Popup', // removed
(9, 'ResulTextGrid'),
# 10 => 'removed',
(11, 'InitialView'),
(12, 'ZoomSlider'),
(13, 'MousePosition'),
(14, 'GetMousePosition'),
(15, 'Scale'),
(16, 'EditFeature_Create'),
(17, 'EditFeature_Update'),
(18, 'EditFeature_Delete'),
#(19, 'FeaturePanel_Form'), # will not be supported by db driver
(20, 'FeaturePanel_Selector'),
#(21, 'LegendPanel'), # removed
(22, 'GeoExtToolbar'),
#(23, 'Merge'), # removed
#(24, 'Split'), # removed
(25, 'Shortcut'),
#(26, 'GeoExtUx_GeoNamesSearchCombo'), # currently not supported by db driver
(27, 'GeoExtUx_Redliningpanel'),
(28, 'PdfPrint'),
(29, 'WMSLayerAdder'),
(30, 'GeoExtUx_ShortcutCombo'),
(31, 'GeoExtUx_ZoomTo'),
(32, 'HTWindow'),
(33, 'UnselectAll'),
(34, 'GeoExtPrintForm'),
(35, 'FileTreePanel'),
(36, 'GeoExtUx_LayerTreeBuilder'),
#(37, 'MapPanel'), # don't use it in django
#(38, 'Layer') # don't use it in django
(39, 'QueryByRect'),
(40, 'FeaturePanel_AttributeForm'),
(41, 'FeaturePanel_CustomForm'),
(42, 'GeoExtUx_WMSBrowser'),
(43, 'VectorLayer'),
(44, 'ResultVectorLayer'),
(45, 'QueryOnClickWizard'),
(46, 'GeoExtUx_PrintPreview'),
(47, 'WFSFilterBuilder'),
(48, 'TemplatePopup'),
(49, 'Toggle'),
(50, 'EditFeature_Split'),
(51, 'EditFeature_Drag'),
(52, 'EditFeature_Copy'),
(53, 'EditFeature_Confirm'),
(54, 'KeepActiveSession'),
# for user-defined widgets use numbers grater than 9999 ??
(10001, 'DXFImport'),
(10002, 'GeoctopusPrint'),
(10003, 'GeoctopusSplitter')
)
SERVICE_TYPES = (
(1, 'WMS'),
(2, 'TileCache'),
(3, 'FeatureServer'),
(4, 'GYMO'),
#(5, 'Widget'), # deprecated
#(6, 'MapServer'), # deprecated
(7, 'MapFishPrint'),
(8, 'File'),
(9, 'WFS'),
(10, 'HttpRequest')
)