|
|
|
@ -2273,7 +2273,7 @@ function showSettingsApplication(){ |
|
|
|
//items:{
|
|
|
|
xtype: 'panel', |
|
|
|
id: 'sys_location_map', |
|
|
|
height: PanelH-150, |
|
|
|
height: PanelH-170, |
|
|
|
html: ' ', |
|
|
|
listeners:{ |
|
|
|
afterrender: function( t, state ){ |
|
|
|
@ -2294,21 +2294,30 @@ function showSettingsApplication(){ |
|
|
|
textAlign: 'center' |
|
|
|
}, |
|
|
|
items:[{ |
|
|
|
border: false, |
|
|
|
html: '<?=$Labels->GetLabel('_SYS_ANCHORT_LBL_');?> <?=$Labels->GetLabel('_LAT_SHORT_LBL_');?>:' |
|
|
|
},{ |
|
|
|
xtype: 'textfield', |
|
|
|
xtype: 'numberfield', |
|
|
|
id: 'siteLat', |
|
|
|
decimalPrecision: 8, |
|
|
|
width: 100, |
|
|
|
value: SiteLat |
|
|
|
},{ |
|
|
|
border: false, |
|
|
|
html: '<?=$Labels->GetLabel('_LON_SHORT_LBL_');?>:' |
|
|
|
},{ |
|
|
|
xtype: 'textfield', |
|
|
|
xtype: 'numberfield', |
|
|
|
width: 100, |
|
|
|
decimalPrecision: 8, |
|
|
|
id: 'siteLon', |
|
|
|
value: SiteLon |
|
|
|
},{ |
|
|
|
border: false, |
|
|
|
html: '<?=$Labels->GetLabel('_ALT_SHORT_LBL_');?>:' |
|
|
|
},{ |
|
|
|
xtype: 'textfield', |
|
|
|
xtype: 'numberfield', |
|
|
|
decimalPrecision: 2, |
|
|
|
width: 100, |
|
|
|
id: 'siteAlt', |
|
|
|
value: SiteAlt |
|
|
|
},{ |
|
|
|
@ -2316,8 +2325,9 @@ function showSettingsApplication(){ |
|
|
|
text: '<?=$Labels->GetLabel('_UPDATE_LBL_');?>', |
|
|
|
handler: updateSiteAnchor |
|
|
|
},{ |
|
|
|
border: false, |
|
|
|
html: '<?=$Labels->GetLabel('_MAP_TYP_LBL_');?>:' |
|
|
|
},{ |
|
|
|
},/*{ |
|
|
|
xtype: 'radio', |
|
|
|
name: 'map_type', |
|
|
|
boxLabel: '<?=$Labels->GetLabel('_MAP_REG_LBL_');?>', |
|
|
|
@ -2329,21 +2339,21 @@ function showSettingsApplication(){ |
|
|
|
boxLabel: '<?=$Labels->GetLabel('_MAP_CUST_LBL_');?>', |
|
|
|
colspan: 2, |
|
|
|
value: 1 |
|
|
|
},{ |
|
|
|
},*/{ |
|
|
|
xtype: 'combo', |
|
|
|
disabled: true, |
|
|
|
disabled: false, |
|
|
|
typeAhead: true, |
|
|
|
triggerAction: 'all', |
|
|
|
lazyRender:true, |
|
|
|
colspan: 2, |
|
|
|
colspan: 5, |
|
|
|
mode: 'local', |
|
|
|
store: new Ext.data.ArrayStore({ |
|
|
|
id: 0, |
|
|
|
fields: ['myId', 'displayText' ], |
|
|
|
data: [[1, 'item1'], [2, 'item2']] |
|
|
|
fields: ['map_id', 'map_text' ], |
|
|
|
data: [[1, 'OpenStreetMap'], [2, 'OpenTopoMap'], [3, 'EsriSat'], [4, 'EsriStreet'], [5, 'EsriTopo']] |
|
|
|
}), |
|
|
|
valueField: 'myId', |
|
|
|
displayField: 'displayText' |
|
|
|
valueField: 'map_id', |
|
|
|
displayField: 'map_text' |
|
|
|
},{ |
|
|
|
|
|
|
|
xtype: 'button', |
|
|
|
|