[Qgis-user] Label with HTML-expressions

Nathan Woodrow madmanwoo at gmail.com
Tue Mar 26 20:47:21 PDT 2013


Lene,

QGISWebClient (what QGISCloud is using) might not support layer actions yet.

HTML labels is something that I have considered but never really got around
to testing, also not sure how to approach it and not affect the render
speed.

- Nathan


On Wed, Mar 27, 2013 at 1:25 PM, Lene Fischer <lfi at life.ku.dk> wrote:

>  Yes - it works fine with the Open Action and the coloumn inserted, but
> it dosent work in Qgiscloud. Actions is not an option, and a lot of people
> don´t  know the action feature in QGIS. A simple link on a label i known
> from ex google maps.
> This might looks stupid - but I want to publish a map in a blog, and also
> be able to link to further informations in additional page.
>
>  I learn a lot every time a ask a question - and my students gets the
> benefits from this.
> So; Thanks you for your good advices - all of you!
>
>  Regards
> Lene
>  ------------------------------
> *Fra:* Nathan Woodrow [madmanwoo at gmail.com]
> *Sendt:* 26. marts 2013 23:53
>
> *Til:* Lene Fischer
> *Cc:* qgis-user
> *Emne:* Re: [Qgis-user] Label with HTML-expressions
>
>   Lene,
>
>  If you are talking about the hotlink stuff.  QGIS can do this using
> Layer Actions.  Have a look in the properties dialog under the Actions tab
> for the layer.
>
>  - Nathan
>
>
> On Wed, Mar 27, 2013 at 1:30 AM, Lene Fischer <lfi at life.ku.dk> wrote:
>
>>  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> 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]
>>> *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> 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
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>>>
>>>
>>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20130327/b07ae4bd/attachment.html>


More information about the Qgis-user mailing list