Skip to content
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

MapLegend shows wrong legend instead od the selected (default) style #7391

Closed
giohappy opened this issue Apr 26, 2021 · 1 comment
Closed
Assignees
Labels
major A high priority issue which might affect a lot of people or large parts of the codebase
Milestone

Comments

@giohappy
Copy link
Contributor

test_e uses Swe_sea_ports_points layer.

  • Swe_sea_ports_points -> default_style -> hotosm_swe_sea_ports_points
  • The map uses the layer's default style (Fig.1) but the Map Legend shows the other style (Fig.2).

Apprently the information is stored correctly:

  • The layer instance has the default style correctly associated
  • The MapLayer layer_params have the style set to an empy string (being the default style).

@marthamareal please investigate why the non default style is used instead inside the legend of the map detail page

Fig.1
image

Fig.2
image

@marthamareal
Copy link
Contributor

@giohappy, can you make this visible, am unable to access both map and layer.

@afabiani afabiani added the major A high priority issue which might affect a lot of people or large parts of the codebase label Apr 27, 2021
@afabiani afabiani added this to the 3.2 milestone Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major A high priority issue which might affect a lot of people or large parts of the codebase
Projects
None yet
Development

No branches or pull requests

3 participants