[OpenLayers-Users] Declare a default externalGraphic

David Fawcett david.fawcett at gmail.com
Wed Mar 11 10:53:43 EDT 2009


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.
<CHRISTOPHER.M.HEIDT at saic.com> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list