[Mapserver-users] Outlinecolor of a MS_LAYER_LINE Type

Daniel Morissette dmorissette@dmsolutions.ca
Mon, 02 Feb 2004 09:19:09 -0500


woodbri@swoodbridge.com wrote:
> Daniel,
> 
> Does not look like any of the OVERLAY* attributes of the CLASS object 
> are documented in the PHP/Mapscript. Can you tell Nicol if they are 
> supported in the code?
> 
> Nicol,
> 
> You might try to just set them in mapscript like any other object 
> attribute:
> 
> $classObj->set("OVERLAYCOLOR", $colorObj);
> $classObj->set("OVERLAYSIZE", 3);
> 
> It may just work and not be documented.
> 

In V4.0, OVERLAYCOLOR and all OVERLAY* parameters are supported only for 
backwards compatibility in the mapfiles.  Instead of using OVERLAY*, you 
would create a second style in your class for the overlay part and use 
the color and size parameters of the second style to set what used to be 
the OVERLAYCOLOR and OVERLAYSIZE.  The methods to create styles and set 
their parameters are in the 4.0 docs.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               dmorissette@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------

_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users