This is what im trying out right now, but doing an additional sync ajax call per feature is killing performance
-----Original Message----- From: David Fawcett [mailto:[email protected]] Sent: Wednesday, March 11, 2009 10:54 AM To: Heidt, Christopher M. Cc: [email protected] Subject: Re: [OpenLayers-Users] Declare a default externalGraphic Could you use javascript to check to see if the image can be accessed and then set the symbol property based on the result? On Wed, Mar 11, 2009 at 9:36 AM, Heidt, Christopher M. <[email protected]> wrote: > I assign an externalGraphic to each of my features. > There is the possibility that the graphic for any given feature my not > resolve. > As it is now this results in an invisible feature. > > So my question is: how can I declare a default image to use as an > externalGraphic should the url I supply to externalGraphic fail to > resolve? > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
