Carlos Eduardo Sibaja Salazar <carloseduardo at COSTARRICENSE.CR>
США
xkarel at MAIL.RU
Wed Jun 15 02:15:49 PDT 2005
Small example use function processLegendTemplate
function DrawHTMLLegend()
{
echo "<table cellspacing=0 cellpadding=0>";
echo "<tr bgcolor=\"#E2EFF5\">\n";
echo "<td></td>\n";
echo "<td></td>\n";
echo "</tr>\n";
echo $GLOBALS["goMap"]->processLegendTemplate( array() );
echo "<tr>\n";
echo "<td><input type=\"image\" src=\"./images/icon_update.png\" width=\"20\" height=\"20\"></td>\n";
echo "<td colspan=2><font face=\"Arial,Helvetica,sans-serif\" size=\"2\">Update?</td>\n";
echo "</tr>\n";
echo "</table>";
}
More information about the MapServer-users
mailing list