CSWEB MAP

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
matenek
Posts: 17
Joined: November 17th, 2022, 12:57 am

CSWEB MAP

Post by matenek »

Hello,
Has anyone had a similar problem?
I can't move the map or keep focus on the bounded region.

tks.
Attachments
CSWeb 7.7.0 map.png
CSWeb 7.7.0 map.png (1.83 MiB) Viewed 4486 times
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: CSWEB MAP

Post by aaronw »

What happens when you select a filter?
matenek
Posts: 17
Joined: November 17th, 2022, 12:57 am

Re: CSWEB MAP

Post 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.
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: CSWEB MAP

Post by aaronw »

Can you attach a sample CSDB file which exhibits the issue? This would allow us to reproduce the issue on our side.
matenek
Posts: 17
Joined: November 17th, 2022, 12:57 am

Re: CSWEB MAP

Post by matenek »

Follow the csdb attachment.

Edit: removed attachment
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

Re: CSWEB MAP

Post 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.
matenek
Posts: 17
Joined: November 17th, 2022, 12:57 am

Re: CSWEB MAP

Post by matenek »

Hey,
No Worries, thank you for your attention :)
Waiting ;)
savy
Posts: 159
Joined: December 27th, 2012, 1:36 pm

Re: CSWEB MAP

Post 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.
matenek
Posts: 17
Joined: November 17th, 2022, 12:57 am

Re: CSWEB MAP

Post by matenek »

Dear CSpro team,
I made the changes on CSWEB and now works properly.

tks a lot for the support!
Post Reply