Releases: FacilMap/facilmap
Releases · FacilMap/facilmap
4.1.2
UI/feature updates
- Make GPX export markers and lines transparent in OsmAnd
Bugfixes
- Fix applying hash query on page load (#268)
- Use relative paths again for embedding JavaScript/CSS resources. Fixes issues when FacilMap runs under a nested path, as reported in YunoHost-Apps/facilmap_ynh#25
3.4.1
4.1.1
UI/feature updates
- Add option to create/move marker at/to current position if the current position is shown on the map
- Move certain marker/line actions into "Actions" dropdown to be able to add more actions there later
- Add option to embed FacilMap without showing the route/POIs tab (#251)
- Make checkboxes appear more compact on small screens and bigger on large screens
Bug fixes
- Fix spinners in message popups (toasts)
- Fix crash of "move marker" functionality when marker is out of view
Changes for self-hosted instances
- Fix example docker-compose file in docs (#264)
- Allow running FacilMap without any tokens, hiding the routing options (#233)
Technical changes
- Fix exported TypeScript types
4.1.0
UI/feature updates
- Internationalize the entire app:
- A new "user preferences" dialog allows configuring the language. By default, the language is auto-detected from the browser language.
- Units can also be switched to the US Customary system in the user preferences.
- The German translation is finished an Norwegian and Russian translations have been started. Translations are created collectively on Weblate.
- Add shower POI type, simplify POI categories and add “All amenities”, “All touristic places”, “All sports facilities” and “All shops” POI types (#261).
Technical changes
- The FacilMap modules are now internationalized using i18next. Find details about how to adjust the language configuration in the documentation.
4.0.0
UI/feature updates
- Marker, line and map names are now empty by default. They are still displayed as "Untitled marker", "Untitled line" and "Unnamed map" as a fallback, but when editing the name and when hovering the marker/line, the name is now empty.
- Use "high accuracy" mode for current location
- Use Lima Labs as the new default map style. It is very similar to Mapnik, just a little bit nicer and provides high-resolution tiles so that the map doesn't look blurry on smartphones anymore
- When there is more than one marker/line type, show the type next to the marker/line name (#243)
- Introduce dashed and dotted stroke styles for lines (#239)
- Add QR code button to share dialog and other "Copy URL to clipboard" cases to quickly transfer the map URL to smartphones
- Make marker colour/shape and line colour/width compatible with OsmAnd in GPX export (#246)
- Replace "Export as" options with "Export", which opens a dialog where the export format can be specified. New export options:
- CSV export
- HTML table to clipboard (to be pasted into spreadsheet apps)
- ZIP file containing one GPX file for all markers and one GPX file per line (to be imported into OsmAnd) (#246)
- Support searching for GPS coordinates in degrees notation
- Add POI categories "Abandoned", "Nudism", "Florist"
- Retrieve marker and search result elevations again (now using Open Elevation instead of MapZen, #250). Elevation is retrieved asynchronously.
- Load long click result asynchronously. Coordinates are shown immediately, more info is shown when it arrives.
- Make types and views reorderable.
Bug fixes
- Disable long click when moving marker/line. Previously this broke the UI.
- Fix legend padding (#158)
- Fix error when changing "cluster markers" option (#164)
- Prevent UI from breaking when very long words are used
- Round marker coordinates to 5 decimals everywhere
- Do not show focus ring on lines
Changes for self-hosted instances
- Add
HIDE_COMMERCIAL_MAP_LINKS
configuration option to hide Google/Bing maps links (#186) - Add
CUSTOM_CSS_FILE
configuration option to allow specifying custom CSS (#185 #186) - Add optional
LIMA_LABS_TOKEN
config option, specify to enable Lima Labs map style - Removed
MAPZEN_TOKEN
config option. Open Elevation is now used, a self-hosted instance can optionally be specified through theOPEN_ELEVATION_*
options. - Add
TRUST_PROXY
andBASE_URL
config options to make the app recognize its URL when run behind a reverse proxy.
Technical changes
- Migrate from Vue 2 class components to Vue 3 single-file components
- Migrate from BootstrapVue (using Bootstrap 4) to using Bootstrap 5 directly
- Migrate from Webpack to Vite
- Migrate to native ESM
- Migrate to zod for validating requests
- Make null/undefined properties in API responses consistent
- Use streaming for table/GeoJSON/GPX export
- Allow specifying a custom app name (instead of FacilMap) through the
APP_NAME
config setting - Add integration tests to test client against MySQL/Postgres backend
- Introduce socket versions to allow breaking API changes. v2 uses the new empty default marker/line/map name. Changes are documented in the docs.
- Use TypeScript project references to improve developer experience by resolving cross-module imports
- Add heathcheck to Docker image
- Split up icons into core icons (used in the UI) and extra icons (used in markers). Extra icons are loaded asynchronously.
- Load import libraries (to parse GPX/KML/OSM files) asynchronously
- Clear route points table on server startup
- Reset line point cache on zoom level changes to improve frontend performance
- Add oEmbed configuration
- Allow disabling the creation of default types when creating a map (through
createDefaultTypes
property)
3.4.0
UI updates
- Add a service worker so that (mobile) browsers now automatically offer installing FacilMap as an app.
Bug fixes
- Make local storage persistent. This makes sure that the browser doesn't clear bookmarks when the system is running low in disk space.
- Fix an error where mobile phones were showing the desktop view instead of the mobile view.
Technical changes
- Use spatial indexes for line/route points and markers. This drastically reduces the loading time for maps that have a lot of routes.
3.3.0
UI updates
- Add new POI feature to show amenities and POIs on the map (inspired by OpenPoiMap).
- Add external link to Google Satellite under "Map styles".
- Resolve route destinations already when leaving the field instead of all at once before calculating the route.
- Remove "recommended" routing type, as it is not supported by OpenRouteService anymore.
Bugfixes
- Fix broken search/route behaviour in Firefox due to bug in hash handler (#154).
- Fix displaying of "disconnected" message when connection is interrupted.
- Fix editing dropdown/checkbox fields (#152).
- Fix error when exporting a map as table (#153).
- Fix error when exporting a line as GPX.
- Allow search engines to index only read-only version of collaborative maps (if enabled in the map settings).
- Fix HTML escaping of syntax error message in filter dialog.
- Fix applying overlays when opening a saved view.
- Fix updating of location hash when opening a saved view.
- Fix non-disappearing loading message when FacilMap is opened in a background tab.
- Fix dragging of circular routes near the start/end.
Technical changes
- Implement a global hard limit of one search request per second to respect the Nominatim Usage Policy and avoid getting blocked.
- Use node-fetch rather than request for backend requests.
Documentation
- Document manual binding of hash handler
3.2.0
UI updates
- Add CyclOSM layer.
- Add support for bookmarks.
Bugfixes
- Show locate marker above everything else.
- Show difference in edit history also when map settings are changed.
- Fix drawing of lines.
Technical changes
- Refactor layers component so that it can be used on multiple maps.
- Explicitly create database tables with UTF-8.
- Refactor frontend so that it can be used as a library, create
FacilMap
component that can be embedded and extended inside Vue apps.
Documentation
- Overhaul client API documentation.
- Document Leaflet components.
- Basic documentation of the FacilMap frontend API.
- Improve documentation front page.
3.1.0
UI updates
- Allow selecting multiple markers/lines by holding Shift and drawing a box.
- Allow deleting multiple markers/lines at once (see handle multiple objects in the docs).
- Add loading spinners to a lot of buttons to indicate when an action is still running.
Bugfixes
- Fix custom import dialog when multiple files are open.
- Fix lines being shown incorrectly or not at all in some circumstances.
Technical changes
- Publish facilmap-utils, facilmap-types and facilmap-server packages transpiled to JS.
- Allow running facilmap-server straight from NPM (see docs).
3.0.1
UI updates
- Make it possible and document how to add FacilMap as an app on smartphones
- Add description how style controlling and legend support works to the create/edit type dialog
- Add more marker shapes, for example rectangles, triangles, pentagons, hexagons and stars
Technical changes
- Fix support for the FacilMap server running under a sub-path
- Show descriptive errors in case the server is started without
MAPBOX_TOKEN
orORS_TOKEN
configured - Render map name as part of static HTML so that search engines can pick it up better