OpenLayers OpenLayers

Ticket #873 (closed feature: fixed)

Opened 10 months ago

Last modified 9 months ago

new vector style property: graphicOpacity

Reported by: elemoine Assigned to: crschmidt
Priority: major Milestone: 2.5 Release
Component: Layer.Vector Version: SVN
Keywords: Cc:
State:

Description

I have a vector layer that contains polygons as well as external graphics. I want my external graphics to be opaque and my polygons to be non-opaque. I also don't want to go over every feature and set their styles individually.

I propose to add a new vector style property: graphicOpacity. Setting this property, you can specify an opacity value for external graphics only.

Code verified on FF and IE. I also modified the vector-features.html and added tests to test_Vector.html.

See attached patch.

Attachments

patch-graphicOpacity.diff (8.6 kB) - added by elemoine on 08/01/07 11:39:44.
graphicOpacity patch

Change History

08/01/07 11:39:44 changed by elemoine

  • attachment patch-graphicOpacity.diff added.

graphicOpacity patch

08/01/07 11:41:45 changed by elemoine

  • keywords set to review.

08/13/07 13:52:09 changed by euzuro

  • milestone set to 2.5 Release.

08/27/07 13:07:02 changed by crschmidt

  • keywords changed from review to commit.

I think this looks fine for commit.

08/30/07 01:59:31 changed by elemoine

  • keywords deleted.
  • status changed from new to closed.
  • resolution set to fixed.

(In [4114]) add new vector style property "graphicOpacity" enabling mixing non-opaque vector geometries with opaque external graphics on the same vector layer (closes #873)