Releases: Leni-Vienne/urbanist-map
v1.2.4
What's changed
The website now uses OpenStreetMap administrative boundaries and assigns all projects to them. Including neighborhoods, cities, countries and their sub-divisions.
Website changes
-
added locations to latest contributions, project details and discord notifications
-
better location search that works for countries and all subdivisions
-
location search now ignores characters like dashes and apostrophes
-
location search flies to the exact location bounds instead of its center
-
added a warning for tile caching in the contributions update dialog
-
better transition from view to edit mode while a project is selected
-
fixed hover preview card positioning near the edge of the map
Code changes
-
replaced cities and countries tables by an admin_boudaries table (#98)
-
removed geonames import, should be easier to initialize a development DB now
v1.2.3
What's changed
Added a brand new map design with cluster points and better filtering, and way less clutter in dense areas. Clicking on features should be more predictable and consistent for all devices and map features. The old map is still available in settings menu in the top right of the page.
Website changes
-
Added a filter panel that mirrors the filter button at the right edge.
-
The project details now open up above the side menu and isn't shared with the "On the map" panel anymore.
-
fixed map pitching always being disabled on mobile
-
Made the feature grid size constant to reduce aggressive tile size transitions where 16x more features would appear.
-
The feature card now appears on the map when hovering projects in "On the map" panel.
-
Fixed feature card staying opened after pitch/rotate.
-
Removed the zoom gate when that prevented filtering by building.
-
Fixed filterControl not closing when it was interacted with.
-
Cleaner user button on mobile.
-
Now includes projects with construction:electrified (except for heavy rail).
-
Fixed some projects being saved as linestring instead of polygon.
v1.2.2
What's Changed
Website changes
-
Added zoom controls to the map, hidden on mobile
-
Added +/- key to zoom on the map
-
Removed POIs from the base map to make it look cleaner
-
Disabled rotate and pitch by default on touchscreens and trackpads
-
Cleaner settings menu with ability to unlock the map's rotation
-
Can now delete dates in the project form
-
Map buttons layout improved, now all on the right side
-
Now displays the render image in latest contribution panel if the project has no overlay
-
Better shapeEditing with the following changes:
- added a delete button in the edit mode that gets enabled when a shape is selected
- added ability to undo previous node placement by right clicking it
- removed the default mode (polygon or line) to make it harder to drawer in the wrong mode
- made the edit mode persist after closing the editor and re-open it
-
Fixed the 'last used' auth method text not being shown in auth modal
-
Fixed submissionDialog still submitting the valid contributions
when there were validation errors for some other entries -
Fixed a second font file being loaded when changing panel
-
Improved vector tile layer network load times during map flight by removing a bad optimization attempt
-
Removed some of the vector layers that weren't needed
-
Fixed event listener creation when moving the cursor on the map
Code changes
-
Improvements to the tiles endpoint
-
Removed the 'geometry IS NULL' path from tiles.sql
-
Fix edge case in pagination of contributions
-
More robust DB migration in github workflow
-
Approving an overlay updates the update_at column of the project
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
Website Changes
-
added options for the map language using OpenFreeMap, default to browser's language
-
added new tags like office, industrial and residential. tag colors inspired by Cities Skylines
-
added 27k new projects (see project-stats-snapshot.json history) mostly coming from including
proposed:, planned: tags as well as cycleway, and from less aggressive feature size filter -
fixed disabled 3D buildings getting re-enabled after switching base map
-
fixed wrong flyTo bounds on large features at low zoom
-
fixed flyTo on mobile not accounting correctly for the menu drawer
Code changes
-
cleaner OSM-extract size filter that use building:levels
-
.osm.pbf planet extraction time halved
-
fixed various inconsistencies in osm-extract scripts
-
removed the cookie_secret fallback, now errors out if not set
-
fixed moderation list loading the entire user_reports table on every call
-
fixed flaw in overlay approval
-
fixed original overlay not being updated when replacement overlay was deleted by an admin
-
fixed N+1 query in getReportedUsers route
-
tile DB connection now uses
plan_cache_mode=force_custom_planfor more consistent performance -
LRU (Least Recently Used) cache that prunes old tiles to save RAM
-
better tile cache invalidation when approving overlays
-
removed dead code surrounding overlays in the frontend
v1.2.0
New features
Artist's impression
Projects can now have a render image (artist's impression) attached to them. It doesn't fit very well to the OpenStreetMap ecosystem, but users from other places could really enjoy it. I think they can be especially useful for buildings as map overlay images can't show their heights or style.
Removed map popup
The concept of clicking a feature on the map to open a popup at the cursor location is gone. The project details have been relocated to the side menu where there is more room. It may take time to adapt to this new way of looking at projects, but it simplifies maintenance a lot and prevents camera issues.
Website changes
- Fixed overlay borders being visible on other overlays, was quite distracting.
- Overlay names now appear above the overlay toolbar.
- Made the mobile drawer more compact.
- Changed "unnamed project" text to "OpenStreetMap project".
- Flying to tall overlays works better now.
- Parallel OSM relations are now merged together.
- Fixed brand new projects being hard to find in the Contribute panel.
- Fixed excessive event listener creation when moving the map while Contribute panel is open.
- Fixed excessive event listener creation when switching panel.
- Fixed the shapeEditor cursor staying after leaving the shapeEditor.
- Fixed overlay not clickable on mobile at zoom=12.
Code changes
- Updated dependencies and removed some unused type packages.
- Better vite proxy setup.
- Dropped the
overlayprefix of file names in/services/overlay.
v1.1.2
New feature : image cropping
Imported images can now be cropped directly on the site. However once an image is submitted, it can't be re-cropped. This is to prevent a loss in quality. As a workaround, the image can be deleted and re-added
Website Changes
- Image edit handles are easier to grab.
- Nicer submission confirmation dialog.
- Fixed small changes to OSM project not being listed in latest contributions panel.
- Fixed flight to overlay sometimes not working in edit mode.
Code changes
- Updated dependencies.
- Code linting.
- Tile generation performance improvements.
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Website changes
- Added filter by project with images ("images only").
- Added message in edit mode to warn that contributions are not synced back to OSM.
- Fixed wrong city preview in Submission dialog.
- Fixed edge case regarding peditProjectForm.
- Fixed action button absent after logging in while in edit mode.
- Fixed images not getting filtered by timeline status.
Server changes
- Better discord alerts.
- Changes to how uploaded images are processed.
- Fixed some backend routes not sending some users 'bound' errors.
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
Maplibre has now fully replaced leaflet. This allow for new features like camera pitch/rotation, as well as better performance and customizability long term. More info here #74
New features
- Added ability to send overlays to back/front of project shapes via the floating toolbar.
- Added Camera pitch/rotation by using the mouse right click.
Website changes
- Fixed hoverPreviewCard remaining visible and fixed in position during map pan.
- Fixed filtering by last modified date that didn't work for overlay images.
- More consistent project edit button, used to get hidden in the project popup.
- Nicer tag section in the project form, the first tag is now clearly labeled as the main one.
- Fixed ctrl+z being listened to in forms.
- Replaced the "3 weeks ago" OSM import date by the OSM last modified date in Contribute panel.
- Cleaner OSM projects in contribute panel, they are now listed as "OpenStreetMap" instead of "Approved".
- Mods can now click on the contribution on the map to bring the project and country.
- More efficient server route for approving changes.
Code changes
- Removed some HMR accept that could cause issues.
- Removed dead branches of code.
Full Changelog: v1.0.7...v1.1.0
v1.0.7
Website Changes
- Added OpenStreetMap login method.
- Backend now limits overlay images to 4096px wide.
- Added a border to images of projects that had no geometry.
- CurrentLocationPanel now lists projects with images only (no geometry).
- Fixed projectPopup that were cut at the top when opened near a screen side edge.
- Fixed hover tooltip on images always showing "Unnamed project".
- Split the Latest Contributions Panel to highlight direct user submissions, the daily OSM import used to burry them.
- Fixed project dates being discarded when creating a new proposed project.
Code Changes
- Deduped map/date helpers
Full Changelog: v1.0.5...v1.0.7
v1.0.5
Website Changes
- The latest contribution panel now lists user submissions at the top, and OSM imports below
- Fixed zooming on the map being very slow via trackpad (#63)
- Fixed some points/circles on the map that zoomed too abruptly on the project instead of zooming on the project's tile
- Fixed OSM extraction scripts merging roads too aggressively in some cases like inside ring-roads
- Simpler robots.txt that will maybe make reddit render a link preview for the website
Code changes
- Simplified typing by making types inherit properties of the
Projecttype - Removed some dead code in the frontend
- Lots of code smell fixed
Full Changelog: v1.0.4...v1.0.5