OpenMap.Layer.DynamicVectorClient = OpenLayers.Class(OpenLayers.Layer.Vector, { layerId : "", singleTile : false, isBaseLayer: false, // markers: null, vectors: null, drawn: false, isServerSide : false, // markerId: [], vectorId:[], disableFeatureIds : {}, //각종 주제도 속성 ///// layerProperty : null, //////////////////// getName : function() { return this.layerProperty.LAYER_NM; }, getLayerId : function() { return this.layerProperty.LAYER_ID; }, // projection:"EPSG:4326", // displayProjection:"EPSG:900913", initialize: function(options) { this.layerProperty = options.layerProperty; arguments = [].slice.call(arguments); arguments.unshift(this.layerProperty.LAYER_NM); OpenLayers.Layer.Vector.prototype.initialize.apply(this, arguments); this.layerId = this.layerProperty.LAYER_ID; this.singleTile = options.singleTile || false;// ? options.singleTile : false, this.isBaseLayer = options.isBaseLayer || false; }, //CLASS_NAME: "OpenLayers.Layer.Markers", CLASS_NAME: "OpenMap.Layer.DynamicVectorClient", //todo : 코로플레스용으로 수정 loadMarkers: function(layerId) { this.name = layerId; var legend = new MapLegend(layerId); var params = { cmd: 'data', layer: layerId, minx: 0, miny: 0, maxx: 20000000, maxy: 20000000, zoom: 1 }; $.ajax({ url: OpenMap.Config.distUrl, context: this, cache: false, type: "GET", timeout:3000, dataType: "json", data: params, async: false, success: function(items) { for(var i = 0 ; i