[OpenLayers-Users] selecting marker potential bug

Chris Abraham cabraham at openplans.org
Fri Jun 12 14:48:40 EDT 2009


Alternatively, you can replace lines 69-71 with:
                     styleMap: new OpenLayers.StyleMap(
                         style
                     )

I assume here that since I didn't specify "default" this "style" gets  
set to all options.

Chris


On Jun 12, 2009, at 2:19 PM, Chris Abraham wrote:

> Hi,
> I think I have found a bug.  See attached file for a simple test case.
>
> When you click on one of the points (features) a popup will  
> display.  Since the feature is selected, it's style changes and it  
> turns blue.  This is unexpected.  I would have expected it to keep  
> the default style, that is, for it not to change in appearance.  Is  
> this the desired behavior.  To prevent the appearance change, you  
> can change line 71 to:
>                         "default": style, "select": style
>
> Please let me know if this is a bug or not.
>
> Also, it may be related to this bug http://trac.openlayers.org/ 
> ticket/1498.
>
> Thanks,
> Chris
>
>
>
>
> <clusteringbug.html>_______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list