[Mapserver-users] Outlinecolor of a MS_LAYER_LINE Type
Daniel Morissette
dmorissette at dmsolutions.ca
Mon Feb 2 06:19:09 PST 2004
woodbri at 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 at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the MapServer-users
mailing list