Did solve it with this:
var styleMap = new OpenLayers.StyleMap(
{
'select':
OpenLayers.Util.applyDefaults({pointRadius:
16},OpenLayers.Feature.Vector.style['select']),
'default':
OpenLayers.Util.applyDefaults({pointRadius:
16},OpenLayers.Feature.Vector.style['default'])
});
--
Med venlig hilsen / Kind regards
Tue Topholm
Sugee
Tlf: +45 32 13 32 32
W: http://www.sugee.dk
2011/7/19 Tue Topholm <[email protected]>:
> Hi All
>
> I'm using this to make the pointRadius bigger:
>
> var styleMap = new
> OpenLayers.StyleMap(OpenLayers.Util.applyDefaults(
> {pointRadius: 16},
>
> OpenLayers.Feature.Vector.style["default"]));
>
> But when I select a feature the feature is not highlighed with the
> blue standard style, why is that, and how can I override it, so it
> does?
>
> --
>
> Med venlig hilsen / Kind regards
>
> Tue Topholm
> Sugee
> Tlf: +45 32 13 32 32
> W: http://www.sugee.dk
>
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users