changing the symbol

Bart van den Eijnden bartvde at XS4ALL.NL
Tue Mar 1 04:19:05 EST 2005


Hi,

you just change the symbol which is associated with your style, eg

            // Set style symbol
            if (is_numeric($aszSymbolName[$i]))
            {
                $oStyle->set("symbol", $aszSymbolName[$i]);
            }
            else
            {
                $oStyle->set("symbolname", $aszSymbolName[$i]);
            }

Best regards,
Bart

> hello
>
> I want to change the symbol of a map interactively with
> php-mapscript.
> How can I do that ?
>
> kind regards
>
> Ahmet Temiz
>
> ______________________________________
> XamimeLT - installed on mailserver for domain @deprem.gov.tr
> Queries to: postmaster at deprem.gov.tr
> ______________________________________
> The views and opinions expressed in this e-mail message are the sender's
> own
> and do not necessarily represent the views and the opinions of Earthquake
> Research Dept.
> of General Directorate of Disaster Affairs.
>
> Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak
> T.C.
> B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte
> degildir.
>



More information about the mapserver-users mailing list