Page 1 of 1

CSWEB MAP

Posted: December 1st, 2022, 9:08 am
by matenek
Hello,
Has anyone had a similar problem?
I can't move the map or keep focus on the bounded region.

tks.

Re: CSWEB MAP

Posted: December 1st, 2022, 6:53 pm
by aaronw
What happens when you select a filter?

Re: CSWEB MAP

Posted: December 1st, 2022, 8:25 pm
by matenek
Similar problem even with selected filters.
When I starting the zoom in on the map to see the region (East Timor), I can't move the map left or right.
I tested it with mapbox and the problem is the same.

Re: CSWEB MAP

Posted: December 5th, 2022, 6:41 pm
by aaronw
Can you attach a sample CSDB file which exhibits the issue? This would allow us to reproduce the issue on our side.

Re: CSWEB MAP

Posted: December 10th, 2022, 11:18 pm
by matenek
Follow the csdb attachment.

Edit: removed attachment

Re: CSWEB MAP

Posted: December 14th, 2022, 3:15 pm
by aaronw
Just wanted to give you a quick update. When I used the your data and extracted dictionary I start to zoom in on Timor-Leste (or at least that part of the world) and then the view jumps to Africa. I've passed on this report for a closer look. Thanks for your patience.

Re: CSWEB MAP

Posted: December 14th, 2022, 8:35 pm
by matenek
Hey,
No Worries, thank you for your attention :)
Waiting ;)

Re: CSWEB MAP

Posted: December 16th, 2022, 5:18 pm
by savy
This is a bug in the program. We have a workaround that will fix this issue. Please follow these steps.

1. Open this file located in CSWeb's folder "\app\Resources\views\mapReport.twig" in a text editor
2. Delete the following lines
maxBounds: L.latLngBounds([-180, -85.06], [180, 85.06]),
maxBoundsViscosity: 1
3. Save the file and exit
4. Delete the contents of CSWeb/var/cache folder.

Now the map should work correctly. Please let us know if you have any issues.
We will fix it in the next version of CSWeb.

Re: CSWEB MAP

Posted: December 20th, 2022, 6:20 am
by matenek
Dear CSpro team,
I made the changes on CSWEB and now works properly.

tks a lot for the support!