Skip to content

Releases: FacilMap/facilmap

3.4.1

19 Apr 23:46
Compare
Choose a tag to compare

Technical changes

  • Fix usage of facilmap-client in a Node.js environment (fix error that self is not defined)

4.1.1

15 Apr 02:46
Compare
Choose a tag to compare

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

09 Apr 22:29
Compare
Choose a tag to compare

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

29 Mar 01:08
Compare
Choose a tag to compare

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 the OPEN_ELEVATION_* options.
  • Add TRUST_PROXY and BASE_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

27 Jun 14:15
Compare
Choose a tag to compare

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

23 May 17:10
Compare
Choose a tag to compare

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

Documentation

3.2.0

07 May 06:13
Compare
Choose a tag to compare

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

3.1.0

16 Apr 01:05
Compare
Choose a tag to compare

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

10 Apr 21:04
Compare
Choose a tag to compare

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 or ORS_TOKEN configured
  • Render map name as part of static HTML so that search engines can pick it up better

3.0.0

10 Apr 00:33
Compare
Choose a tag to compare

UI updates

  • The search box now has tabs to switch between the search form and the route form
  • Selecting map objects opens a new tab in the search box rather than replacing the legend
  • Importing a file and long-clicking the map open a new tab in the search box rather than being opened in the search form
  • Removed OpenMapSurfer layer (as it is not available anymore)
  • Fix relief layer
  • Fix advanced route mode options
  • Add documentation and add a help menu to the toolbox that links it
  • Improved smartphone support: Toolbox is a sidebar, search box can be dragged in from the bottom, legend is a tab in the search box
  • Colour picker field has various sliders
  • Icon picker field has a filter function
  • Colour picker, icon picker and shape picker have a preview
  • New lower() filter function to enable case-insensitive comparison
  • Add ability to drag route in a way that adds a new start or end
  • Selected objects can be unselected by clicking on empty space on the map. Multiple objects can be selected using the Ctrl key (although nothing can be done with them yet).
  • Complete overhaul of the UI with many bug fixes and improvements here and there

Client API updates

  • All the route functions now have an additional routeId parameter that allows having multiple routes active at the same time. Routes with a routeId are persisted in the routes property.
  • New emit, emitResolve and emitReject events allow advanced hooking into events
  • _set and _delete methods that can be overridden for Vue reactivity support
  • _decodeData and _encodeData to allow using an ES6 Map for the marker/line data. Use a null-property object by default.
  • TypeScript support

All changes should be backwards compatible.

Technical updates

  • Added an additional index to the line points and route points table, load line points of all lines at once on bbox update, much faster loading time for maps with many lines.
  • Complete rewrite of everything in TypeScript. New package facilmap-types.
  • Frontend switched from AngularJS to Vue.js
  • Updated from Bootstrap 3 to Bootstrap 4
  • Extracted Leaflet.AutoGraticule, Leaflet.FreieTonne, Leaflet.HighlightableLayers, Leaflet.DraggableLines into external modules.
  • Split up frontend into facilmap-leaflet and facilmap-frontend. facilmap-leaflet is a bridge between Leaflet and facilmap-client and can be used to support FacilMap features on Leaflet maps without having to use Vue.js and the FacilMap frontend.
  • Major rewrite of most components with many bugfixes and improvements.