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:
@@ -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());
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user