to clarify: style works as expected on feature 'over', but doesn't change on feature 'click'.
i've set "default", "temporary" and "select" styles in StyleMap. they are then fed to the layer. i didn't set any event listeners for "featureclick". i am using "SelectFeature" and callbacks within. oddly, style changes on feature 'select' but the function is not triggered: "...callbacks: {'select': function_to_update_attribute_info }..." what are the different options available under "callbacks" other than 'over' and 'click' and maybe 'select'? is there a help doc listing them? posting on stackexchange too. On Wed, Jun 18, 2014 at 4:55 PM, zach cruise <zachc1...@gmail.com> wrote: > for wfs/gml layer: > > when i use "...callbacks: { 'over': function }...", the feature > changes color on click as expected. > > but when i use "...callbacks: { 'click': function }...", the feature > does not change color on click. > > and using the layer's StyleMap({"select":...}) does not help either. _______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users