[Users] Do not show the icon in the layer tree

Christian Spanring christian at spanring.eu
Fri Oct 30 00:25:53 CET 2009


You can define icons per layer with

{
	nodeType: "gx_layer",
     	layer: "Parcelas",
	icon: "parcelas.gif"
}

for example.

Christian

On Oct 29, 2009, at 6:42 PM, fsalas wrote:

>
> Thanks, Christian I resolve with this
> Ext.BLANK_IMAGE_URL = "../ext/resources/images/default/s.gif";
>
> But , I have another question , How I use one image by layer
> for example layer parcels with image parcelas.gif...........
>
> regards Salas
>
>
> ----- Original Message ----- From: "Christian Spanring" <christian at spanring.eu 
> >
> To: "fsalas" <fsalas at geocuba.cu>
> Cc: <users at geoext.org>
> Sent: Thursday, October 29, 2009 1:48 PM
> Subject: Re: [Users] Do not show the icon in the layer tree
>
>
> Salas,
>
> you can set the image path by using something like:
>
> Ext.BLANK_IMAGE_URL = "../geoext/ext/resources/images/default/s.gif";
>
> see http://extjs.cachefly.net/ext-2.3.0/docs/?class=Ext for more info.
>
> Christian
>
> On Thu, Oct 29, 2009 at 3:10 PM, fsalas <fsalas at geocuba.cu> wrote:
>> Hi, i have been testing with the tree example in geoext , but the  
>> icon in
>> the layer tree don't appear, because the reference is http://extjs.com/ 
>>  and
>> I don't have Internet connection.
>>
>> ¿ How i can change this configuration?
>>
>> regards , salas
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at geoext.org
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>
>



More information about the Users mailing list