Skip to content

Commit

Permalink
PR Release 1.0.0-beta2 (#2)
Browse files Browse the repository at this point in the history
* Updated OL to version 6.13.0

* Updated incorrect information in README.md

* Updated form slider grip icon

* Changed to GitHub icon as the HiddenAbout-tool icon

* Updated spelling mistake

* Updated color modifier classes to match the naming order of color variables

* Added missing alpha value to the default background color for Markers

* Added collapsible sections to the toolboxes and refactored operations for localStorage

Each tool that have settings in the toolbox can now be collapsed.
The state is saved and loaded from localStorage.
The refactoring of operations towards localStorage was a major improvment.
Now a default stateobject (LOCAL_STORAGE_PROPS) is used in each tool that requires a saved state.
This communicates really well what properties that are saved and can easily be extended with more properties.
The magic of the spread operator makes it really easy to merge the saved state into a runtime copy of LOCAL_STORAGE_PROPS.

* Increased the min-width for the toolbox-container

This makes the collision-detection a bit more smooth when collapsing the toolbox sections.

* Added Table of contents and License information

* Added method to add settings from the individual tools

Thus decoupling responsibilities and removal of unnecessary settings when the corresponding tool is not used.

* Renamed constructor parameter to options instead of callbackObj

More and more tools require parameters that are not functions so i opted for a more general name.

* Implemented optional storage of data in localStorage for BookmarkTool

A constructor parameter (storeDataInLocalStorage) is used to enable localStorage support.

* Removed dead code

* Fixed jumping behavior when collapsing groups containing empty child elements

* Updated and added more information in the README-documentation

* Added function buttons in MyLocation marker popup

The user can now remove the marker even if the application is not using the LayerTool. It is also possible to copy the marker information.

* Spelling mistake

* Removed old file

* Improved documentation

* Refactored colors used in the light and dark theme

I felt that i were using to many colors making for a messy look-and-feel. Now trying to improve the meaning behind the color and just use a part of the color palette.

* Added more padding between the checkbox and the text

* Updated dependencies [axios, proj4]

* Refactored color system

Simplified the color-theme for the light and dark theme to have more colors in common. Also use the colors more consistent where the mid-color is to be considered the default color. Also improved the project documentation.

* Added module for easy access to GET parameters and added parameter to enable default context menu

Separated functionality for accessing get parameters in the URI. The module is called URIGet and is located in the helpers directory. Adding the ?debug=true parameter will now enable the built in context menu in the browser.

* Updated README.md documentation

* Updated dependencies [Parcel, ol, sass]

Updated Parcel-bundler from 1.12.5 to Parcel 2.4.1
Updated ol from 6.13.0 to 6.14.1
Replaced sass 1.49.9 with @parcel/transformer-sass 2.4.1

* Added variable for controlling border-radius on all components

* Bugfix for Magnifier tool

Re-assignment of constant variable. Weird that this has been working previously.

* Modified URIGet to return the retrieved value

The returned value can now be compared for any value not only boolean values.

* Added map zoom, lat, lon, rotation to localStorage

Added state management for base map properties, zoom, latitude, longitude and rotation. This is controlled from the map.js file.

* Added new tool that shows overview of map

* Code cleaning

* Changed logic for where the scaleline tool is initiated

* Updated dependencies [Parcel, Parcel-transformer-sass]

* Updated README.md with Node- and NPM version info

* Bugfix - Changed the css specificity for the Overview Map tool

* Moved the mouse wheel listener from the window to the toolbarElement

* Refactored function for export/import vectorlayer as geojson

* Structured files inside the helpers folder

* Changed type of listener function for the contextmenu

* Added support for import/export vector layer as KML

Vector layers can now be import and exported as both GeoJSON and KML format. The KML format also holds the style information that is applied to the drawn features.

* Bugfix for tooltip when changing layer name

* Standardized responses from modal windows

* Standardized modal content DOM

* Code formatting

* Modal window title update

* Restricted to only allow .geojson and .kml format in file dialog

* Added constructor method for olLayer, olSource and olFormat

* Renamed data container from attributes to properties for feature related items

* Updated export for contextmenu module

* Added parameters to disable function buttons in the layer tool

Default the buttons are enabled through the default object instance. The buttons can now be disabled through the use of constructor parameters.

* Added parameters to disable creation of map- and feature layers in the layer tool

* Added textbox to bookmark tool so that a name can be given at creation

* Code formatting

* Added default options instance to all tools that take a options-object as parameter

* Updated dependencies removed Axios

* Code formatting

* Refactored KeyboardZoom and KeyboardPan condition to use targetNotEditable

This removes the bug that the zoom- and arrow keys are blocked from textboxes/inputs that have focus.

* Updated README.md

* Updated Version 1.0.0-beta2
  • Loading branch information
qulle authored Jun 8, 2022
1 parent d66f4a0 commit 499bb74
Show file tree
Hide file tree
Showing 110 changed files with 5,967 additions and 16,939 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/node_modules
/.cache
/.parcel-cache
/dist
/archive
299 changes: 225 additions & 74 deletions README.md

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Releases

## 1.0.0-beta2
2022-06-09

Some of the changes done in this version is:

- Updated to latest version of OpenLayers 6.14.1
- Updated the Parcel bundler to latest version 2.6.0
- Updated theme, a more solid look and feel for both the light and dark theme
- New tool for miniature map overview
- Added support for import/export vector layer as both GeoJSON and KML
- Added support for collapsible sections in the toolbox
- Extended support for keeping state in local storage
- Extended config options in constructor for the layer tool
- Bug fixes
- Code refactoring and improvements

For a complete changelog please see the commit history on the develop branch.

## 1.0.0-beta1
2022-02-25

Expand Down
2 changes: 1 addition & 1 deletion images/colors/blue-mid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/gray-mid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/green-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/green-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/green-mid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/orange-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/orange-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/red-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/red-mid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/yellow-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/colors/yellow-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/demo-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/demo-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/demo.png
Binary file not shown.
Loading

0 comments on commit 499bb74

Please sign in to comment.