camptocamp / c2cgeoportal

c2cgeoportal application
http://geomapfish.org
Other
64 stars 46 forks source link

Background layer warning #2887

Closed kalbermattenm closed 7 years ago

kalbermattenm commented 7 years ago

In GMF >= 2.x, if one does not want to use the background layer selector (gmf-backgroundlayerselector), then c2cgeoportal should not complain about it:

Unable to find the Group named: background, Available Groups: gp_general, ...

Or is there a way to turn that specific warning off ?

sbrunner commented 7 years ago

int the theme request (here: https://github.com/camptocamp/demo_geomapfish/blob/master/demo/templates/desktop.html#L315), remove the background int the query. =>

module.constant('gmfTreeUrl', '${request.route_url('themes', _query={"interface": "desktop", "version": "2"}) | n}'); 

I hope that's working :-)

kalbermattenm commented 7 years ago

+1, thanks a lot for the hint @sbrunner !