Skip to content

First part of map-library migration #1534

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

Open
wants to merge 16 commits into
base: development
Choose a base branch
from
Open

Conversation

Angamanga
Copy link
Contributor

The first part of moving over to OpenLayers, the map is not complete but...

  • The map is displaying
  • When clicking on a pin, the popup shows and displays information + all functionality such as edit, change status etc works as before

Since filters and loading-posts are covered by another ticket, you might need to reload or go to data-view and back to map-view to get the pins to load.

Ticket: USH-1763

@Angamanga Angamanga requested a review from ushahidlee February 28, 2025 06:56
Copy link
Contributor

@ushahidlee ushahidlee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks neat and tidy. 👍

Angamanga and others added 8 commits March 4, 2025 10:52
* Adjusting map in create-post view, first draft of map and location-search

* Displaying pin in the right location when editing a post

* Saving marker on click

* Making map and location-picker pretty

* Cleanup of location-select

* Displaying map on post-details

* Destroying map to avoid duplicate maps when switching between popup/desktop

* Adding default-map if no basemap is set

* Saving coordinates on click

* Using correct basemap in post-edit

* Using correct basemap in post-details
* First wms-layer added

* Adding rainfall data

* Small adjustment to make handling layers more flexible (in case we want to hide some layers)

* Adding attributions to all layers

* Removing repetition from wms-functions

* Simplifying wms-function (copilot ftw!!)
* Showing map and geolocator in Settings-view

* Updating coordinates on click

* Changing base-layer when selecting a new one from the dropdown

* Updating and saving zoom correctly
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