[maplab-users] Legend-help please
willianrp at rc.unesp.br
willianrp at rc.unesp.br
Fri Dec 9 10:26:04 EST 2005
Hello again Krishnaa,
I´m sending you my legend template file. Compare with yours and do the
modifications. The file is located at you maplab dir, into projects,
gmf_apps, on your project directory. The name of the file id
legend_template.html.
Just change the value in "opt_flag=" to the number of layers you have,
same for "width=" on table definition
Here is mine:
[leg_layer_html order_metadata=legend_order opt_flag=14]
<tr>
<td colspan=5 bgcolor=#eeeeee>
<input type="checkbox" name="layer_status[]" value="[leg_layer_name]"
[if name=layer_status oper=eq value=1] CHECKED [/if]>
<font face="Arial, Helvetica, sans-serif" size="2"><b>
[leg_layer_name] </b> </font>
</td>
</tr>
[/leg_layer_html]
[leg_class_html]
<tr>
<td width=15>
</td>
<td>
<img src="[leg_icon]" width=20 height=10>
</td>
<td>
<font face="Arial, Helvetica, sans-serif" size="2"> [leg_class_name]
</font>
</td>
</tr>
[/leg_class_html]
Any question, let me know.
Willian Rampazzo.
> Hi willian,
>
> Thanks for the link. thats exactly what I wanted to do too. could please
> let me know how you did that. any help would be greatly appreciated.
> Thanks
> Krishnaa
>
>
> On Thu, 08 Dec 2005 willianrp at rc.unesp.br wrote :
>>I just forgot the mais thing ... the link ... :D
>>Here we go: http://petro.rc.unesp.br/imagens/corumba.html
>>
>>Sorry,
>>
>>Willian Rampazzo
>>
>> > Hi all,
>> > I am using maplab to create a my map files by connecting to postGIS.
>> For
>> > one layer I had more than one 2 class defined. But when i preview the
>> map
>> > I dont see all the items in the legend. I just see the first one. I
>> would
>> > like to know how to gett all the class items on the legend when i have
>> it
>> > enabled.
>> >
>> > can sone one please help on
>> > this_______________________________________________
>> > Maplab-users mailing list
>> > Maplab-users at lists.maptools.org
>> > http://lists.maptools.org/mailman/listinfo/maplab-users
>> >
>>
>>
>
More information about the Maplab-users
mailing list