Quantcast

hyperlink to layergroup?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

hyperlink to layergroup?

Simone Frigerio-2
Hi,
I need to fix hyperlinks from some LayerGroups in layer.ini. Is it possible?

Example with a layer. "more info" correctly visualized passing over
"SOURCES" within layer tree.
layers.RF_V_sources.className = Layer
layers.RF_V_sources.label = "SOURCES"
layers.RF_V_sources.msLayer = rf_vl_s
layers.RF_V_sources.link = http://localhost/.../text.txt

Example with layergroup. The block "VALIDATION RESULT" doesn't support
hyperlink.
layers.MENUVALIDATION.className = LayerGroup
layers.MENUVALIDATION.label = VALIDATION RESULT
layers.MENUVALIDATION.link = http://localhost/.../text2.txt
layers.MENUVALIDATION.rendering = block
layers.MENUVALIDATION.children = MENU_VA

Thanks
Simone

_______________________________________________
Cartoweb-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: hyperlink to layergroup?

Oliver Christen
hi Simone

it should work (I made a test with the demoCW3 to be sure).
maybe try to put the link url between quote or doublequote in your layers.ini

regards
Oliver

2011/2/8 [hidden email] <[hidden email]>:

> Hi,
> I need to fix hyperlinks from some LayerGroups in layer.ini. Is it possible?
>
> Example with a layer. "more info" correctly visualized passing over
> "SOURCES" within layer tree.
> layers.RF_V_sources.className = Layer
> layers.RF_V_sources.label = "SOURCES"
> layers.RF_V_sources.msLayer = rf_vl_s
> layers.RF_V_sources.link = http://localhost/.../text.txt
>
> Example with layergroup. The block "VALIDATION RESULT" doesn't support
> hyperlink.
> layers.MENUVALIDATION.className = LayerGroup
> layers.MENUVALIDATION.label = VALIDATION RESULT
> layers.MENUVALIDATION.link = http://localhost/.../text2.txt
> layers.MENUVALIDATION.rendering = block
> layers.MENUVALIDATION.children = MENU_VA
>
> Thanks
> Simone
>
> _______________________________________________
> Cartoweb-users mailing list
> [hidden email]
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
_______________________________________________
Cartoweb-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
Loading...