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

@@ -25,7 +25,7 @@ OpenLayers.Feature.prototype= {
&& this.data.iconH) {
var size = new OpenLayers.Size(this.data.iconW, this.data.iconH);
var icon = new OpenLayers.Icon(this.data.iconURL, size);
var marker = new OpenLayers.Marker(icon,this.lonlat);
var marker = new OpenLayers.Marker(this.lonlat,icon);
if (this.title) {
var popup = new OpenLayers.Popup(this.latlon,
this.getContentHTML());