Added the possibility to add a mask to set a shade on the outside of the study territory.
The Snogylop.js library has been used to do the job.
Warning : the leaflet.js library had to be bumped from 1.0.2 to 1.6.0 to be compatible with snogylop
For now no bug has been detected in the atlas. Implemented in the atlas of the PNR de la Forêt d'Orient.
To activate the mask, you can use the following parameters in atlas/configuration/config.py:
Added the possibility to add a mask to set a shade on the outside of the study territory.
The Snogylop.js library has been used to do the job.
Warning : the leaflet.js library had to be bumped from 1.0.2 to 1.6.0 to be compatible with snogylop For now no bug has been detected in the atlas. Implemented in the atlas of the PNR de la Forêt d'Orient.
To activate the mask, you can use the following parameters in atlas/configuration/config.py:
The
fill
parameter can be set to False (default value) to deactivate the mask.Closes #89