[OpenLayers-Users] change point vector layer graphic?
Heidt, Christopher M.
CHRISTOPHER.M.HEIDT at saic.com
Mon Jun 8 15:26:02 EDT 2009
http://dev.openlayers.org/releases/OpenLayers-2.7/doc/apidocs/files/Open
Layers/Layer-js.html#OpenLayers.Layer.redraw
-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Wendell Turner
Sent: Monday, June 08, 2009 3:24 PM
To: users at openlayers.org
Subject: [OpenLayers-Users] change point vector layer graphic?
Is is possible to change the externalGraphic symbol used for a point
symbol on a Vector layer (That is, after it has been drawn)? Assigning
to the value:
thefeature.style.externalGraphic = "img/newsymbol.png";
seems to have no effect. Is there some sort of 'redraw yourself'
function that needs to be called?
Also, is there a way to just turn off one point vector symbol in a layer
(similar to the way icon.display() is used on a marker)?
Thanks,
Wendell
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list