[Interest] Examples with "excludeAreas" of module qt-location available?

Aaron McCarthy mccarthy.aaron at gmail.com
Wed Nov 18 02:27:29 CET 2015


Hi,

On Tue, 17 Nov 2015 12:19:04 Jan Krause wrote:
> > On Tue, 17 Nov 2015 08:36:27 Jan Krause wrote:
> >> are there examples for using the property excludeAreas
> >> (http://doc.qt.io/qt-5/qml-qtlocation-routequery.html#excludedAreas-prop)
> >> of a RouteQuery available . It seems that this feature does not work...
> >> but maybe we are wrong... so a simple example would be great...
> > 
> > Which geoservices plugins are you using? excludeAreas is only supported in
> > the Here plugin. Using this feature should be as simple as specifying a
> > list of valid QGeoRectangle objects describing the areas to exclude from
> > the route.
> > 
> > Cheers,
> 
> We are using here... but it seems, that the parameter for "excludedAreas"
>   for the here-routing-service is not generated by the here-plugin ... I
> thought there is an example available... or should I provide our
> example-code? ...

You are correct the excluded areas were not being included in the generated 
request. I've pushed a fix for review for 5.6 to gerrit. https://codereview.qt-project.org/141214

There is no example demonstrating this feature.

Cheers,

-- 
Aaron McCarthy



More information about the Interest mailing list