OpenMap.Layer.DynamicServer = OpenLayers.Class(OpenLayers.Layer.XYZ, { // layerId : "", singleTile: false, //각종 주제도 속성 ///// layerProperty: null, isServerSide: true, //////////////////// getName: function() { return this.layerProperty.LAYER_NM; }, getLayerId: function() { return this.layerProperty.LAYER_ID; }, initialize: function(options) { var spec = options.baseMapsSpec.spec; this.layerProperty = options.layerProperty; this.url = []; for(var i=0;i 0) { // // alert(result); // //return true; // isOk = true; // return result; // } }, error: function(XMLHttpRequest, textStatus, errorThrown) { alert("Status: " + textStatus + '\n' + "Error: " + errorThrown); return null; } }); } return result; }, omprint: function(zoom, minX, minY, maxX, maxY) { var data = { 'type': 'layer', 'layerId': this.layerProperty.LAYER_ID, 'opacity': this.opacity }; if (this.singleTile) { var bounds = this.map.calculateBounds(); data["singleTileMbr"] = OpenLayers.String.format("${left}x${top}+${right}x${bottom}", bounds); } return [data]; }, CLASS_NAME: "OpenMap.Layer.DynamicServer" });