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

[WIP] fix map interaction #538

Open
wants to merge 1 commit into
base: 2.8.x-qgis_server
Choose a base branch
from

Conversation

lucernae
Copy link
Collaborator

@lucernae lucernae commented Nov 28, 2018

A series of fix and refactor for GeoNode Map interaction for QGIS Server Backend.

Related issues

#207 - Fix map interaction
#407 - Get add layer to map
#359 - Map update thumbnail not working
#367 - Background layer does not work in map create page
#456 - Fix create map default extent
#489 - Wrong map extent when using different CRS
#525 - Reset map thumbnail doesn't work
#528 - Current Map View page is unmanageable and need refactor
#406 - Layer symbology not working as expected

Interaction list that needs to be fixed:

  • Fix Map Create Page functionality
  • Fix Map Update Page functionality
  • Fix Create Map from Layer Detail
  • Fix Create Map from Duplicate Map button
  • Add basemap to map thumbnail
  • Fix projection in thumbnail and map view
  • Refactor unused dead code
  • Fix set thumbnail functionality
  • Fix Map Detail Page functionality

- Refactor Maps API endpoint to only list map layers on detail request
- Heavy refactor on Leaflet Map Creation Page
- Heavy refactor on Leaflet Map Update Page to extends Map Creation Page
- Refactor QGIS Server Views to support Leaflet Map page
- Refactor Leaflet Map detail page
- Refactor GeoNode map urls for QGIS Server Backend
- Allow Map thumbnail to include chosen basemap
- Fix QGIS Server Map post save signal to save active basemap and local layers
- Add urls for layer json definition for QGIS Server Backend
- Refactor default basemaps for Map Leaflet page to use https
- Refactor Leaflet map css
@lucernae
Copy link
Collaborator Author

Demonstrated here:

create map

@lucernae
Copy link
Collaborator Author

Demonstrated here:

  • Updating/changing existing Map
  • Add remove existing map layer in a map
  • Change layer order
  • Change basemap
  • Change title/abstract
  • Note that I haven't fixed Map Detail page yet, so the layer order in that page is a mess.
  • New thumbnail works with correct order and basemap

update map

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants