[Qgis-user] Label with HTML-expressions

Lene Fischer lfi at life.ku.dk
Tue Mar 26 08:30:54 PDT 2013


Hi Nathan
In MapInfo - at the top of Layercontrol there is a possibillity to set a link, so the map can be interactive.
In my case I would like to make the qgis map interactive to external links - and then upload to QGISCloud.
Regards
Lene
________________________________
Fra: Nathan Woodrow [madmanwoo at gmail.com]
Sendt: 26. marts 2013 14:22
Til: Lene Fischer
Cc: qgis-user
Emne: Re: [Qgis-user] Label with HTML-expressions

Lene,

HTML maps labels are not supported....yet. The example label is rendering the link because QLabels support HTML, which is used to preview the label result.

What would be you use case for having clickable labels in the map window? An interactive map?  I'm not sure MapInfo could do this.

- Nathan


On Tue, Mar 26, 2013 at 11:18 PM, Lene Fischer <lfi at life.ku.dk<mailto:lfi at life.ku.dk>> wrote:
Hi Nathan and Andreas
No it is not in the composer - even though it would be nice if the labels in the canvas AND in the printcomposer could be a link.

I´v e also tried the MapTip - with same result. I think it must be a "bug" because the example in the label shows the element as a normal link. It would be nice if it was there. Just as in MapInfo....

Regards
Lene
________________________________________
________________________________
Fra: Nathan Woodrow [madmanwoo at gmail.com<mailto:madmanwoo at gmail.com>]
Sendt: 26. marts 2013 14:14
Til: Lene Fischer
Cc: qgis-user

Emne: Re: [Qgis-user] Label with HTML-expressions

Lene,

Are you talking about HTML map labels or HTML composer labels?

- Nathan


On Tue, Mar 26, 2013 at 5:49 PM, Lene Fischer <lfi at life.ku.dk<mailto:lfi at life.ku.dk>> wrote:
I´ve tried to insert a HTML <a href> in the label-expression.
The url in coloumn 'www'
'<a href="[% "www" %]" target="_blank">link</a>'

The output example looks like a link (blue and underline), but when I look at the map - it is filled with  non interpreted text.

Is there a "render as HTML" label option I have overlooked?

Regards
Lene Fischer


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org<mailto:Qgis-user at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/qgis-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130326/0cace826/attachment.html>


More information about the Qgis-user mailing list