Changing order of constructor arguments.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@417 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-27 02:09:03 +00:00
parent f08462465d
commit 90c4baa09b

View File

@@ -36,11 +36,11 @@ OpenLayers.Feature.prototype= {
* @param {OpenLayers.LonLat} lonlat
* @param {Object} data
*/
initialize: function(layer, id, lonlat, data) {
initialize: function(layer, lonlat, data, id) {
this.layer = layer;
this.id = id;
this.lonlat = lonlat;
this.data = data;
this.id = (id ? id : 'f'+Math.Random());
},
/**