Skip to content

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.

3 participants