[qgis-qwc2] map tips

Sandro Mani manisandro at gmail.com
Thu Feb 14 02:27:51 PST 2019


Hi Bernhard

If you look in the network inspector, do you see you change reflected in 
the GetFeatureInfo request URL?

feature_count simply limits the number of features QGIS Server returns.

Sandro


On 14.02.19 11:26, Bernhard Ströbl wrote:
> Hi Sandro,
> doesn't work here. Is a certain Version of QGIS Server and/or qwc2 
> required?
> BTW what is "feature_count" good for?
>
> Bernhard
>
> Am 14.02.2019 um 11:15 schrieb Sandro Mani:
>> 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
>>
>>
>> __________ Information from ESET Mail Security, version of virus 
>> signature database 18872 (20190214) __________
>>
>> The message was checked by ESET Mail Security.
>> http://www.eset.com
>
>
>
> __________ Information from ESET Mail Security, version of virus 
> signature database 18873 (20190214) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>


More information about the qgis-qwc2 mailing list