Remove unnecessary initialize functions (only calls the parent).
This commit is contained in:
@@ -25,9 +25,6 @@ OpenLayers.Layer.Boxes = OpenLayers.Class(OpenLayers.Layer.Markers, {
|
|||||||
* name - {String}
|
* name - {String}
|
||||||
* options - {Object} Hashtable of extra options to tag onto the layer
|
* options - {Object} Hashtable of extra options to tag onto the layer
|
||||||
*/
|
*/
|
||||||
initialize: function (name, options) {
|
|
||||||
OpenLayers.Layer.Markers.prototype.initialize.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method: drawMarker
|
* Method: drawMarker
|
||||||
|
|||||||
@@ -44,9 +44,6 @@ OpenLayers.Layer.PointTrack = OpenLayers.Class(OpenLayers.Layer.Vector, {
|
|||||||
* options - {Object} Optional object with properties to tag onto the
|
* options - {Object} Optional object with properties to tag onto the
|
||||||
* instance.
|
* instance.
|
||||||
*/
|
*/
|
||||||
initialize: function(name, options) {
|
|
||||||
OpenLayers.Layer.Vector.prototype.initialize.apply(this, arguments);
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* APIMethod: addNodes
|
* APIMethod: addNodes
|
||||||
|
|||||||
Reference in New Issue
Block a user