None of my recent messages to this list have made it through as far as I know. Hope this one makes it.<br><br>The removeMarker call in Markers.js assumes internal knowledge about OpenLayer.Icon. Since I've created my own version of Icon which doesn't have the same structure this function fails:
<br><br> /**<br> * @param {OpenLayers.Marker} marker<br> */<br> removeMarker: function(marker) {<br> OpenLayers.Util.removeItem(this.markers, marker);<br> if ((marker.icon != null) && (
marker.icon.imageDiv != null) &&<br> (marker.icon.imageDiv.parentNode == this.div) ) {<br> this.div.removeChild(marker.icon.imageDiv);<br> }<br> },<br><br>Perhaps this should be moved onto the
Icon.js so it can clean itself up?<br><br><br><br>