[qgis-qwc2] map tips
Bernhard Ströbl
bernhard.stroebl at jena.de
Thu Feb 14 06:01:19 PST 2019
Hi Sandro,
after updating the server to 3.4.4 (used to be 3.4.1) the maptip field
is gone. Thank you for your help.
Bernhard
Am 14.02.2019 um 14:03 schrieb Sandro Mani:
> Hi Bernhard
>
> Yes, that would be a server issue (resp your server does not support
> that option, not sure exactly when it was added, probably some 3.x
> release as stated by Andreas earlier).
>
> Sandro
>
> On 14.02.19 14:01, Bernhard Ströbl wrote:
>> Hi Sandro,
>>
>> although the GetFeature-Request is sent with "with_maptip=false" the
>> maptip field is returned, so it seems to be a server problem, isn't it?
>>
>> Bernhard
>>
>> Am 14.02.2019 um 11:47 schrieb Sandro Mani:
>>> Hi Bernhard
>>>
>>> Have you changed both the mobile and desktop configurations in
>>> config.json (resp. the one that you are testing?)
>>>
>>> Sandro
>>>
>>> On 14.02.19 11:46, Bernhard Ströbl wrote:
>>>>
>>>>
>>>> Am 14.02.2019 um 11:27 schrieb Sandro Mani:
>>>>> Hi Bernhard
>>>>>
>>>>> If you look in the network inspector, do you see you change
>>>>> reflected in the GetFeatureInfo request URL?
>>>>
>>>> no, the GetFeatureInfo request is sent with "with_maptip=true"
>>>>
>>>>>
>>>>> feature_count simply limits the number of features QGIS Server
>>>>> returns.
>>>>
>>>> I would have guessed :-)
>>>>
>>>> Bernhard
>>>>>
>>>>> 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
>>>>>>>>>>>
__________ Information from ESET Mail Security, version of virus signature database 18874 (20190214) __________
The message was checked by ESET Mail Security.
http://www.eset.com
More information about the qgis-qwc2
mailing list