[qgis-qwc2] map tips

Sandro Mani manisandro at gmail.com
Thu Feb 14 02:15:22 PST 2019


Hi

This is already possible, just set:

with_maptip: false

in the Identify cf params in config.json, i.e.

         {
           "name": "Identify",
           "cfg": {
             "params": {
               "FI_POINT_TOLERANCE": 32,
               "FI_LINE_TOLERANCE": 16,
               "FI_POLYGON_TOLERANCE": 8,
               "feature_count": 20,
               "with_maptip": false
             },
             [...]
           }
         }

Best
Sandro

On 14.02.19 08:17, Andreas Neumann wrote:
>
> Hi,
>
> Now that we can do GetFeatureInfo WITH_MAPTIP true|false, QWC2 could 
> use with maptip for mouseover and without maptip for click.
>
> This should be relatively easy to implement - right?
>
> Greetings,
> Andreas
>
> On 2019-02-14 08:06, Bernhard Ströbl wrote:
>
>> Hi Sandro,
>> it works with maptip (used to be tooltip in QWC1).
>> Unfortunately when clicking on a feature the field maptip is included 
>> in the feature info, too, which IMHO is kinda ungly.
>>
>> Bernhard
>>
>> Am 07.02.2019 um 23:44 schrieb Sandro Mani:
>>> Hi Bernhard
>>>
>>> Does your GetFeatureInfo reply include a feature with an attribute 
>>> named "maptip"?
>>>
>>> Best
>>> Sandro
>>>
>>>
>>> On 07.02.19 17:38, Bernhard Ströbl wrote:
>>>> Hi all,
>>>> I am trying to understand the map tips in QWC2. When enabling them 
>>>> I see GetFeatureInfo requests being sent while moving the mouse 
>>>> cursor. These very GetFeatureInfo requests being entered in a new 
>>>> browser tab return an answer with feature info but in qwc2-demo-app 
>>>> nothing happens. I would expect a popup or similar.
>>>> Is there anything I have overlooked to configure in my QGIS Server 
>>>> project or in my qwc2 client?
>>>>
>>>> any help appreciated
>>>> Bernhard
>>>>
>>>>
>>>> __________ Information from ESET Mail Security, version of virus 
>>>> signature database 18837 (20190207) __________
>>>>
>>>> The message was checked by ESET Mail Security.
>>>> http://www.eset.com
>>>>
>>>>
>>>> _______________________________________________
>>>> qgis-qwc2 mailing list
>>>> qgis-qwc2 at lists.osgeo.org <mailto:qgis-qwc2 at lists.osgeo.org>
>>>> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
>>> _______________________________________________
>>> qgis-qwc2 mailing list
>>> qgis-qwc2 at lists.osgeo.org <mailto:qgis-qwc2 at lists.osgeo.org>
>>> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
>>
>>
>> -- 
>> Bernhard Ströbl
>> Anwendungsbetreuer GIS
>>
>> Kommunale Immobilien Jena
>> Am Anger 26
>> 07743 Jena
>>
>> Tel.: 03641 49- 5190
>> E-Mail: bernhard.stroebl at jena.de <mailto:bernhard.stroebl at jena.de>
>> Internet: www.kij.de <http://www.kij.de>
>>
>>
>> Kommunale Immobilien Jena
>> Eigenbetrieb der Stadt Jena
>> Werkleiter: Karl-Hermann Kliewe
>>
>>
>> __________ Information from ESET Mail Security, version of virus signature database 18872 (20190214) __________
>>
>> The message was checked by ESET Mail Security.
>> http://www.eset.com
>>
>>
>> _______________________________________________
>> qgis-qwc2 mailing list
>> qgis-qwc2 at lists.osgeo.org <mailto:qgis-qwc2 at lists.osgeo.org>
>> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
>
>
>
> _______________________________________________
> qgis-qwc2 mailing list
> qgis-qwc2 at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-qwc2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20190214/846b7974/attachment.html>


More information about the qgis-qwc2 mailing list