Dear Brian,

I'm not sure about your question but below you can find some code lines to add 
a 
marker layer (and icon) to your map.


var layerMarkers = new OpenLayers.Layer.Markers("markers");
map.addLayer(layerMarkers);

var feature = new OpenLayers.Feature.Vector(                                    
        
                    new OpenLayers.Geometry.Point(yourLon,yourLat)
                    .transform(fromProjection, toProjection));
layerMarkers.addFeatures(feature);


For a complete example you can follow the example
http://openlayers.org/dev/examples/markers.html

Regards

Mario Danelli
                                        


        


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to