Repository navigation
Releases
Releases · versatiles-org/versatiles-map-editor
Map Editor 4.3.0
Features
- viewer: read the map also from the query parameter "map", which wins over the hash (closes #43) (74b9a6c)
- editor: a host chooses the form of share links with "shareLink" in the configuration (closes #44) (d74dfc7)
- map-state: add the entry @versatiles/map-state/maplibre, with the geometry of smooth lines and circles (#45) (c0545f0)
- map-state: the arrowheads of lines and their images in @versatiles/map-state/maplibre (#45) (7769447)
- map-state: the fill patterns of areas and their images in @versatiles/map-state/maplibre (#45) (38376a3)
- map-state: the features of elements, with their geometry and properties, in @versatiles/map-state/maplibre (#45) (5d9f188)
- map-state: load the symbols of a tile server with @versatiles/map-state/maplibre (#45) (78c384d)
- map-state: the layers that draw the elements in @versatiles/map-state/maplibre (#45) (841c7e1)
- map-state: the style of the background map in @versatiles/map-state/maplibre (#45) (44feb43)
- map-state: the camera of the viewer in @versatiles/map-state/maplibre (#45) (70bef47)
- map-state: mapStyle draws a whole map with @versatiles/map-state/maplibre (#45) (e391f22)
Code Refactoring
- scripts: migrate the scripts from JavaScript to TypeScript, checked by check-types (54277c0)
Documentation
- name the scripts by their .ts files, and the rules for writing them (b2644f2)
- update dependency graph (79b8cb8)
- update deps-graph (cc4dbb7)
Tests
- map-state: freeze the samples of the Mont Blanc example (b1305b9)
- resolve @versatiles/map-state/maplibre from its source in the types of the Playwright tests too (#45) (483ef76)
- give the map-style test time for terrain in Firefox on CI (#45) (2bdae36)
CI/CD
- deploy GitHub Pages from CI once all tests have passed, instead of a workflow after CI (e8927a2)
Chores
@versatiles/map-state 1.2.0
Features
- map-state: add the entry @versatiles/map-state/maplibre, with the geometry of smooth lines and circles (#45) (c0545f0)
- map-state: the arrowheads of lines and their images in @versatiles/map-state/maplibre (#45) (7769447)
- map-state: the fill patterns of areas and their images in @versatiles/map-state/maplibre (#45) (38376a3)
- map-state: the features of elements, with their geometry and properties, in @versatiles/map-state/maplibre (#45) (5d9f188)
- map-state: load the symbols of a tile server with @versatiles/map-state/maplibre (#45) (78c384d)
- map-state: the layers that draw the elements in @versatiles/map-state/maplibre (#45) (841c7e1)
- map-state: the style of the background map in @versatiles/map-state/maplibre (#45) (44feb43)
- map-state: the camera of the viewer in @versatiles/map-state/maplibre (#45) (70bef47)
- map-state: mapStyle draws a whole map with @versatiles/map-state/maplibre (#45) (e391f22)
Documentation
- name the scripts by their .ts files, and the rules for writing them (b2644f2)
Map Editor 4.2.0
Features
- add initial documentation for the VersaTiles Map Editor (8784a0c)
- add support link to the status bar (9aede94)
Bug Fixes
- deps: update happy-dom and sass-embedded to latest versions (0b44927)
- follow @versatiles/style 8, which loads the land cover from its own tiles (773e780)
- load the land cover of @versatiles/style 8 from its own tiles, and skip it on servers without them, closes #48 (02b0584)
- name the tilesets of @versatiles/style 9 (osm-vector, landcover-vector, satellite-raster, elevation-raster) in the self-hosting guide and the tests (33c4524)
Performance Improvements
- map-state: find the contexts of the string coder in a tree instead of by text keys, with the same bits (aaf943d)
Tests
- viewer: give the map on terrain 60 s to load, which Firefox in CI needs (e08ad2f)
- viewer: end the drag to the largest tilt inside the page and wait until the map stops, so its inertia cannot cancel the compass (be080a6)
- editor: pause the page's time while the pointer moves to a submenu, so a slow runner cannot turn the move into a rest (c68c7e0)
Chores
- update dependencies and devDependencies to latest versions (35b6746)
- update dependencies to latest versions (95a45fb)
- pin Playwright to 1.64.1, whose Firefox does not fire cancel before change when a test chooses a file (64b56fa)
Other Changes
- update graphs (7a2ef4a)
@versatiles/map-state 1.1.1
Performance Improvements
- map-state: find the contexts of the string coder in a tree instead of by text keys, with the same bits (aaf943d)
Map Editor 4.1.0
Features
- examples: add Mont Blanc first ascent map and update examples list (147648d)
- map-state: tell the group of each text of a link (title, label, popup, legend) and the bits of its references (e5a8236)
- map-state: split the bits of the texts of a link into title, labels, popups and legend by their Shapley values (9416859)
- share: split the texts in the bar of the link size into labels, popups and legend, and name the largest when the link is too long (25176b2)
- give the editor and the viewer the icon of VersaTiles, as SVG and ICO, found also in a subfolder, close #40 (aee7c1f)
- share: let the author leave the popups out of a shared link, which the map keeps, close #42 (e909a76)
- give the editor and the viewer an icon for the home screen of phones, the logo of VersaTiles on white (ea723c5)
Bug Fixes
- release: publish the package from "./publish/…", which npm otherwise reads as a repository on GitHub (44d00c3)
- share: give each part of the link size bar a hue of its own, with wider gaps and its name on hover, so that neighbors can be told apart (5a73be6)
- viewer: center the visible area of a tilted map on terrain, with the heights of the ground along its sides, and show it again once they are loaded (03fc350)
- deps: update @sveltejs/kit to version 3.1.0 (3994ee8)
- deps: update @versatiles/style and vitest to latest versions (9890119)
Documentation
- update deps graph (3e0cf98)
Chores
- update dependencies to latest versions (a64a5a2)
@versatiles/map-state 1.1.0
Map Editor 4.0.1
Bug Fixes
- lint: mark the removal of the hash from the current URL, which has its base path already (8012aee)
- build: carry the licenses of the bundled packages, which the site lacked, as THIRD_PARTY_LICENSES.txt in the site, the archive and the npm package (11a79ab)
Documentation
- describe the npm package of the built editor, how it is published, and that updates keep shared maps working (6ba05a8)
Build System
- release: make the npm package of the built editor, @versatiles/map-editor, with the site in dist/ (8a0a909)
- release: leave the JSON Schemas out of the npm package and the archive, which only GitHub Pages serves, and pack both from the same site (2aa15d4)
CI/CD
- release: publish the built editor to npm as @versatiles/map-editor, in a job of its own with only the right to publish (90561cf)
Chores
- update dependencies to latest versions (b2666c6)
Map Editor 4.0.0
Tests
- tell the tile servers apart by their origin, not by the start of the address (d27ce88)
- wait for the drag to end before the wheel, and turn it again until the map has zoomed (a28bdae)
- run the editor part of the fullscreen test in a tab of its own, and wait longer after the terrain is switched on, for Firefox on the runners (33acb80)
- adjust worker count for non-CI environments to improve performance (68c06d9)
- accept the few pixels beside the middle where the map shows a position, and click again until the reordered marker is in front (bb5a6b7)
CI/CD
- pages: build only commits of this repository, also if a fork's branch is named main (b4e6e6b)
- test: give the Firefox tests three times as long on the runners, where it draws the map without a graphics card (bb7d99e)
- run the Playwright tests in 3 Chromium and 6 Firefox jobs of about 5 minutes each (322b0e4)
- run the Playwright tests in 5 jobs that share them one by one, since only 5 macOS jobs run at a time (d9777ee)
Map Editor 4.0.0-rc.1
Breaking Changes
- store the background map as its settings, from which the editor builds the map (1bef4de)
- let authors decide whether visitors can pan and zoom, and rotate and tilt only if switched on (9550ad4)
- store the settings of a frame as key/value pairs in links, so settings can be added (77aac0e)
- leave the wheel to the page around an embedded map, unless its author sets it free (330afaa)
- give the navigation buttons of a shared map a section of their own, with one place for all (81a6a6a)
- write keys, element types and the version as Exp-Golomb codes, and end the elements explicitly so a cut-off link is refused (430072a)
- store the popup of an element in a list of its fields, so elements can get fields later (a1d7c70)
- give only black and white a short code in the palette of a link, and move the color schemes to the editor (b55d15c)
- give the tilt of a frame 7 bits and write the label density of the background as a varint, so both can grow (8887e42)
- rename strokeStyle of polygons, circles and legend entries to outlineStyle (d60d6d4)
- rename the font of a marker's label to labelFont (dffadaf)
- rename the viewer's zoom setting to zoomButtons (1b8cfb9)
- move the labels of the background over the elements from meta.labels.mapOnTop to meta.background.labelsOnTop (57ce23a)
- rename STROKE_STYLE_NAMES to DASH_NAMES, FILL_DEFAULTS to AREA_DEFAULTS and SYMBOL_DEFAULTS to MARKER_DEFAULTS (27175db)
- move what visitors can do (pan, zoom, rotate, tilt, confine, zoom limits, scroll protection) from the frame to the viewer settings (34eb0c0)
- make the pin the default symbol of a marker, so new markers cost a link nothing (e454b1a)
- make the default fill of an area translucent (3b189db)
- read the values of a map state only with the types of its schema, e.g. no numbers or flags as text (64e7adc)
- keep the rotation of a symbol above -180° and up to 180°, like the rotation of the map (cd387df)
- give lines and outlines their own defaults, so a line has no visibility and GeoJSON cannot hide one (9cf3784)
- tell the format version of a .mapjson file in a field "version", not by the name of its schema (e7be279)
- remove the ids of the editor's color schemes from the words that the string coder knows (0093113)
- write a small size as the smallest one instead of 0, which a link no longer has (a31c5a3)
- leave out the fields of a style that have their default, in files and links alike, so a map has one form (d06ee4c)
- refuse links that the writer never writes, e.g. padded numbers, repeated keys and values beyond their range, instead of repairing them (1ef41ee)
- give every number of a map an upper limit, which files and the writer keep and the reader of links checks (a101c24)
- export the sanitizers of a state, a style and a legend instead of the internal helpers behind them (923cdac)
- add the sheet "extras:" to the words that the string coder knows (51aff63)
Features
- arrow-heads: enhance arrow direction handling with zoom levels and add headDirection function (e90b273)
- arrow-heads: enhance chevron arrowhead handling with dynamic sizing and thickness adjustments (f2b840f)
- arrow-heads: enhance headDirection logic for sharper bends and hooks (20ca235)
- format: turn the frame into an object with bounds, bearing, pitch and locks for the viewer (869630e)
- viewer: open a shared map at the rotation and tilt of its frame (52fd00c)
- viewer: let visitors rotate and tilt the map, with a compass back to the start and locks from the frame (018b803)
- editor: set the rotation and tilt of a shared map in the visible area mode, with a live preview (d6e9efc)
- format: keep in the view whether the author can turn the editor's map, and how it is turned (85ce3e7)
- editor: let the author rotate and tilt the map while editing, with a switch that is kept with the view (105202f)
- editor: turn the shared map by hand while editing the visible area, if the author can turn the map (1baffe5)
- markers: lay a marker flat on the map, its symbol and its label, so it turns and tilts with the map (0697b25)
- background: shade the relief and raise the terrain of the background map, close #37 (59dd985)
- background: raise the buildings of the vector map to their heights, close #38 (68f153d)
- release: implement support for release candidates in versioning and publishing (a53c830)
- format: store the background map as bits in links, instead of as text (9e77da7)
- format: prime the string coder with options of the background instead of its former JSON (4494f79)
- editor: edit the shared map in a panel of the sidebar instead of a bar on the map (6cee47b)
- share: set the controls of shared maps in the sidebar panel only, the share dialog leads there (b8d7ebb)
- editor: show the controls on the map as visitors see them while the shared map is edited (b399692)
- editor: show all elements when a map is opened, i...
@versatiles/map-state 1.0.1
map-state-v1.0.1 @versatiles/map-state 1.0.1