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

Annotations layer not saved and restored correctly when opening a map on Mapstore2 and GeoNode 2.10.3 #32

Closed
emilianocastaneda opened this issue Sep 19, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@emilianocastaneda
Copy link

When saving a map with annotations layer and opening it later on Mapstore2 the annotations are lost

We solved it by adding this code on file django_mapstore_adapter\mapstore2_adapter\plugins\geonode.py before line 424

                elif 'name' in layer:
                    if layer['name']=='Annotations':
                        overlay = layer
                # Restore the id of ms2 layer -> LINE 424
@afabiani afabiani self-assigned this Oct 13, 2020
@afabiani afabiani added the enhancement New feature or request label Oct 13, 2020
@afabiani afabiani added this to the 2.4.0.8 milestone Oct 13, 2020
afabiani pushed a commit that referenced this issue Oct 13, 2020
…pening a map on Mapstore2 and GeoNode 2.10.3

(cherry picked from commit 71262c6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants