var pointfeature = new OpenLayers.Feature.Vector(
new OpenLayers.Geometry.Point(lonlat.lon, lonlat.lat)
);
pointfeature.style = {};
pointfeature.style.externalGraphic = 'graphic.gif';
pointfeature.style.pointRadius = 12; // play with this setting
vectorLayer.addFeatures([newpointfeature]);
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Heidt, Christopher M.
Sent: Wednesday, October 08, 2008 9:51 AM
To: [email protected]
Subject: [OpenLayers-Users] Feature Icons?
Is it possible to give a feature a graphic without having to make it a
marker?
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users