-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use individual wms url parameters for the baseLayers #985
Conversation
…he restriction_on_landownership
91c927f
to
7cea1df
Compare
f539b11
to
72cd48c
Compare
72cd48c
to
c4cccf1
Compare
""" | ||
Returns the list of additionally configured wms_url_params. | ||
Args: | ||
params: optional argument used for given custom parameters. Expecting a dict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
params: optional argument used for given custom parameters. Expecting a dict | |
params (dict): Optional argument used for given custom parameters. |
See another function to have the right syntax to generate the documentation (I'm not sure for your "return" doc)
else: | ||
log.info("no wms_url_params configuration detected; using default value") | ||
result = {'TRANSPARENT': 'true'} | ||
for param_key, param_value in params.items(): # TODO make this Python 2.x compatible! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about this todo ?
@ger-benjamin Thanks for the review. Actually after discussion with @jwkaltz I decided to redo most of this and opened a new PR #986 . Your I fixed your comments there. |
Addresses https://jira.camptocamp.com/browse/GEO-2777
Adds a parameter to get all the config Params from a URL and add them in the print request for that map.
This is implemented for the base maps requested in the
restriction on landownership