נספח ב’ - פרוט שמות המשתנים מסוג enum
כל המשתנים מסוג enum הם מאפיינים של אובייקט govmap. לדוגמה: govmap.events.CLICK, govmap.cursorType.DEFAULT
govmap.events = {
PAN: 0,
EXTENT_CHANGE: 1,
CLICK: 3,
DOUBLE_CLICK: 4,
MOUSE_MOVE: 5,
MOUSE_OVER: 8
},
govmap.internalClickEvents = {
GET_XY_CLICK: 10
};
govmap.locateType = {
addressToLotParcel: 1,
lotParcelToAddress: 0
};
govmap.cursorType = {
DEFAULT: 0,
TARGET: 1,
POLYGON: 3,
CIRCLE: 4,
RECTANGLE: 5,
SELECT_FEATURES: 6
};
govmap.geometryType = {
POINT: 0,
POLYLINE: 1,
POLYGON: 2,
LINE: 3,
CIRCLE: 4
};
govmap.drawType = {
Point: 0,
Polyline: 1,
Polygon: 2,
Circle: 3,
Rectangle: 4,
FreehandPolygon: 6
};
govmap.rendererType = {
Simple: 0,
SimplePicture: 1,
JenksNaturalBreaks: 2,
EqualInterval: 3,
Quantile: 4,
ClassBreaks: 5
};
govmap.geocodeType = {
FullResult: 0,
AccuracyOnly: 1
};
govmap.saveActions = {
Delete: 1,
Update: 2,
New: 3
};
govmap.saveActionStatus = {
Failed: 0,
Deleted: 1,
Updated: 2,
Inserted: 3
};
govmap.layerFilterFields = {
1: 'text',
2: 'number',
3: 'check',
4: 'multiChoice',
7: 'hoursTime',
8: 'date',
};