wri / gfw-mapbuilder

Template for the GFW Map Builder that is available through ArcGIS Online, as a stand-alone web application, & a library to build custom Forest Atlas web applications
https://my.gfw-mapbuilder.org/v1.latest/
MIT License
32 stars 10 forks source link

Sharing button is not working on some mapbuilders #208

Closed richardbarad closed 4 years ago

richardbarad commented 5 years ago

We noticed that the share button is not working. For example, I generated the link below using our georgia forest atlas but the resulting map does not show the correct layers.

https://atlas.mepa.gov.ge/map? x=43.42&y=42.03&z=10&l=ka&b=topo&t=LAYERS&a=GEOFC%2CTREE_COVER_GAIN%2CTREE_COVER_LOSS%2C%E1%83%9B%E1%83%98%E1%83%AC%E1%83%90%E1%83%97%E1%83%A1%E1%83%90%E1%83%A0%E1%83%92%E1%83%94%E1%83%91%E1%83%9A%E1%83%9D%E1%83%91%E1%83%90_Land_Use_1110_0%2C%E1%83%9B%E1%83%98%E1%83%AC%E1%83%90%E1%83%97%E1%83%A1%E1%83%90%E1%83%A0%E1%83%92%E1%83%94%E1%83%91%E1%83%9A%E1%83%9D%E1%83%91%E1%83%90_Land_Use_1110_2%2C%E1%83%9B%E1%83%98%E1%83%AC%E1%83%90%E1%83%97%E1%83%A1%E1%83%90%E1%83%A0%E1%83%92%E1%83%94%E1%83%91%E1%83%9A%E1%83%9D%E1%83%91%E1%83%90_Land_Use_1110_3&o=0.65%2C1%2C1%2C1%2C1%2C1&ls=0&le=16

I think this issue is only present in maps with multiple custom groups layers, and may be related to having layers set to visibility true. I noticed that the issue seems to be present in Landmark for example, but did not have any issues with the maps in our DRC or Cameroon atlases at the links below.

https://cmr.forest-atlas.org/map https://cod.forest-atlas.org/map

richardbarad commented 4 years ago

Closing this ticket as bugs with sharing functionality are being addressed in https://github.com/wri/gfw-mapbuilder/projects/12.