From 43875e80aff33f54b277c48e15728d083b0f26a5 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 27 May 2006 02:12:33 +0000 Subject: [PATCH] Return the marker from the createMarker function. git-svn-id: http://svn.openlayers.org/trunk/openlayers@418 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Feature.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/OpenLayers/Feature.js b/lib/OpenLayers/Feature.js index 6af36d01fe..bc1ac7126c 100644 --- a/lib/OpenLayers/Feature.js +++ b/lib/OpenLayers/Feature.js @@ -74,6 +74,7 @@ OpenLayers.Feature.prototype= { this.marker = new OpenLayers.Marker(this.lonlat, this.icon); } + return this.marker; }, /**