On 11/2/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote:
> Set the 'url' property on the icon as well. (In trunk, use the setUrl
> function instead.)
That worked, thanks. FWIW, here's a helper function I wrote for this:
OpenLayers.Marker.prototype.setIcon = function(icon) {
this.icon.imageDiv.firstChild.src = this.icon.url = icon.url;
}
Cheers,
-Paul
--
Paul Smith
http://www.pauladamsmith.com/
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users