Nice, thanks mapmaker.  Now this code works

function removeSelection()
{
        for(i=0;i<highLightedFeature.length;i++)
        {
                select.removeFeatures([highLightedFeature[i].feature]);
        }
                markers.clearMarkers();
        highLightPolyCounter = 0;
        marker = null;
        document.getElementById('nodelist').innerHTML = "Items Removed";
}

function addHighlightPoint(pointx,pointy)
{
        marker = new OpenLayers.Marker(new OpenLayers.LonLat(pointx,pointy));
                markers.addMarker(marker);
}


clearMarkers(); gets rid of all markers on your map.  Thanks again!

JamSquad
-- 
View this message in context: 
http://n2.nabble.com/Remove-Geometry-Point-from-Map-tp4825323p4826443.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to