[qgis-qwc2] map tips

Andreas Neumann a.neumann at carto.net
Thu Feb 7 22:40:06 PST 2019


Hi,

Now that you say that.

I think this is my fault. I asked Marco H. to remove the geometry and 
maptip in QGIS server 3 from the standard GetFeatureInfo request - 
because WMS is also used from within Desktop GIS and there it was 
annoying to get the extra geometry and maptip (redundant with the 
attributes you get anyway).

Starting from a 3.x release (don't ask me when exactly - I think it was 
in December 2017) - you now have to explicitly ask for geometry and 
maptip in the GetFeatureInfo request, if you want to get them.

You'd have to add WITH_MAPTIP=TRUE and WITH_GEOMETRY=TRUE if you want to 
get those two. See also 
https://docs.qgis.org/testing/en/docs/user_manual/working_with_ogc/server/services.html#getfeatureinfo

Now, I don't know if QWC2 was updated to add these extra parameters when 
doing the GetFeatureInfo requests in conjunction with maptips? Sandro - 
do you know?

Thanks and greetings,

Andreas

Am 07.02.19 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
>> 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


More information about the qgis-qwc2 mailing list