This is what i was looking for. Thanks.
I was trying to do some thing like this which worked but was not sure.
Code:
Ext.define('Utils.parkingMapConfig', {
statics: {
generalSettings: {
defaultZoomLevel: 2,
defaultQueryTolerancePixels: 2
},
spatialReference: {
parking: new esri.SpatialReference({ wkid: 4269 })
},
mapService: {
baseMapTileSTANDARD: "http://204.94.80.163/ArcGIS/rest/services/MMTPBaseMap/MapServer",
blockFace: "http://map2-2.lan.511.org/ArcGIS/rest/services/UPPParking/MapServer"
},
streetParkingLayers: {
Zones: [6, 8, 10],
BlockFaces: [1, 3, 5],
Both: [1, 3, 5, 6, 8, 10]
},
dynamicLayerList: [
"blockFace,http://map2-2.lan.511.org/ArcGIS/rest/services/UPPParking/MapServer"
],
baseLayerList: [
"baseMapTileSTANDARD,http://204.94.80.163/ArcGIS/rest/services/MMTPBaseMap/MapServer"
],
blockFaceZoomLevelQueryTolerance: {
0: 3,
1: 3,
2: 4,
3: 4,
4: 5,
5: 8,
6: 9,
7: 15,
8: 10,
9: 10,
10: 10,
11: 10
}
},
constructor: function (config) {
this.initConfig(config);
// the 'self' property of an instance refers to its class
this.self;
}
});
Thanks once again