Change the default icon size. If we fall back to the MC icon, we should fall back to the MC size, too.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@436 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -64,7 +64,8 @@ OpenLayers.Feature.prototype= {
|
|||||||
: imgLocation + "marker.png";
|
: imgLocation + "marker.png";
|
||||||
|
|
||||||
var imgSize = (this.data.iconSize) ? this.data.iconSize
|
var imgSize = (this.data.iconSize) ? this.data.iconSize
|
||||||
: new OpenLayers.Size(25, 25);
|
: new OpenLayers.Size(21, 25);
|
||||||
|
|
||||||
var imgOffset = (this.data.iconOffset) ? this.data.iconOffset
|
var imgOffset = (this.data.iconOffset) ? this.data.iconOffset
|
||||||
: null;
|
: null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user