Change order of Marker creation from icon, latlon to latlon,icon. I don't know why I would have done it the other way.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@215 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-05-20 20:39:33 +00:00
parent 334fb4c2ed
commit e7c6d4df19
7 changed files with 9 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ OpenLayers.Marker.prototype = {
* @param {OpenLayers.Icon} icon
* @param {OpenLayers.LonLat lonlat
*/
initialize: function(icon, lonlat) {
initialize: function(lonlat, icon) {
this.icon = icon;
this.lonlat = lonlat;
this.object = OpenLayers.Util.createImage(