features
Mandatory elements for Map widget.
| Element | Required | Type | Default value | Value range | Description |
|---|---|---|---|---|---|
| featureType | Yes | String | area | Determines what element to show on Map widget. Area shows polygons and point shows markers. | |
| default | Yes | String | false | true or false | True or false value decides that this feature is to be shown on first page load or not. |
| geoJsonStore | Yes | String | store object | Store that is to provide data to a particular feature | |
| geoJsonStoreType | Yes | String | geojson | geojson or resultset | Resultset or geojson tells that wether the data is in geojson format or SQL result set. |
| pointer | Yes | String | false | true or false | True or false instructs the area polygon to have a marker at the center. |
| lowestHiererchyIconProps | Yes | JSON String | If area is hierarchical data, then the lowest hierarchy is a pointer icon that is based on cases that are written in the JSON file. | ||
| pointerDrilldown | Yes | Array of key value pairs | True or false indicates whether drill-down is allowed from a pointer. | ||
| drillup | Yes | Array of key value pairs | Indicates parameters to send if you are reverting to parent area with double-click. | ||
| pointerLabelProps | Yes | JSON String | Indicates how a label is to be put up on a pointer. | ||
| pointerPopupProps | Yes | JSON String | Configures the pop-up on a pointer based on the JSON file. |

{
"features": [
{
"featureType": "area",
"default": "true",
"geoJsonStore": "reg1GeoStore",
"geoJsonStoreType": "geojson",
"pointer": "true",
"lowestHiererchyIconProps": "{'caseFields':'tech,PMCol','cases':
{'default':'..\/..\/images\/gis\/tower_icon_2g_Red.png','2G,RED':'..\
/..\/images\/gis\/tower_icon_2g_Red.png',
'3G,RED':'..\/..\/images\/gis\/clock.svg','4G,RED':'..\
/..\/images\/gis\/tower_icon_4g_Red.png','2G3G,RED':'
..\/..\/images\/gis\/tower_icon_2g3g_Red.png','2G4G,RED':'..\
/..\/images\/gis\/tower_icon_2g4g_Red.png','3G4G,RED':'
..\/..\/images\/gis\/tower_icon_3g4g_Red.png','2G3G4G,RED':'..\
/..\/images\/gis\/tower_icon_2g3g4g_Red.png','2G,YELLOW':'
..\/..\/images\/gis\/tower_icon_2g_Yellow.png','3G,YELLOW':'..\
/..\/images\/gis\/tower_icon_3g_Yellow.png','4G,YELLOW':'
..\/..\/images\/gis\/tower_icon_4g_Yellow.png','2G3G,YELLOW':'..\
/..\/images\/gis\/tower_icon_2g3g_Yellow.png','2G4G,YELLOW':'
..\/..\/images\/gis\/tower_icon_2g4g_Yellow.png','3G4G,YELLOW':'..\
/..\/images\/gis\/tower_icon_3g4g_Yellow.png','2G3G4G,YELLOW':'
..\/..\/images\/gis\/tower_icon_2g3g4g_Yellow.png','2G,AMBER':'..\
/..\/images\/gis\/tower_icon_2g_Amber.png','3G,AMBER':'
..\/..\/images\/gis\/tower_icon_3g_Amber.png','4G,AMBER':'..\/..\
/images\/gis\/tower_icon_4g_Amber.png','2G3G,AMBER':'
..\/..\/images\/gis\/tower_icon_2g3g_Amber.png','2G4G,AMBER':'..\
/..\/images\/gis\/tower_icon_2g4g_Amber.png','3G4G,AMBER':'
..\/..\/images\/gis\/tower_icon_3g4g_Amber.png','2G3G4G,AMBER':'..\
/..\/images\/gis\/tower_icon_2g3g4g_Amber.png'}}",
"pointerDrilldown":
"{'keyValuePairs' : [{'paramName':'path','paramValue':'path'}]}",
"drillup": "{'keyValuePairs' : [{'paramName':'parent','paramValue':'parent'}]}",
"pointerLabelProps":
"{'labelFields' : 'PMCnt,FMCnt', 'labelDelimiter' : '' , 'icon' :
{'caseFields' : 'FMCol,PMCol,PMCnt,FMCnt' ,'cases' :
{'default' : '..\/..\/images\/gis\/PMFM.png' , 'empty,*,*,empty' : '..\
/..\/images\/gis\/PM.png', '*,empty,empty,*' : '
..\/..\/images\/gis\/FM.png'}}, 'fontSize' : '10','fontFamily' : 'arial',
'fontColor' : '#fff' , 'align' : 'center' ,'strokeWeight' :
'0','strokeColor' : '#fff', 'anchor' : '70,36', 'origin' : '0,0'
}",
"pointerPopupProps": "
{'headerField' : 'header' , 'dataField' : 'data' ,
'titleField' : 'fullPath', 'titleDelimiter' : '-',
'titleText' : 'Hierarchy','titleSeparator' : ': '
}"
}
]
}