Giter VIP home page Giter VIP logo

oltb's Introduction

Hi there ๐Ÿ‘‹

I'm Daniel - Just another GitHub user who likes to code!

~ Qulle

oltb's People

Contributors

qulle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

oltb's Issues

Refactor Tooltips

When using both the measure tool and coordinate tool the tooltips are not shown in a good way. Possible solution is to make a module responsible for tooltips. Tools can then register (push, pop) content to be displayed in the same tooltip.

Change branching strategy

Make the branching flow more simple. Don't stack finished features on hold in a develop branch. Use only one main branch and then use many feature branches. Make a PR from feature to main and then remove the feature branch. This is more in the line of CI/CD.

Bug in edit marker modal

Due to a previous renaming of the result/response parameter from the marker modal, markers fails when they are edited.

Simple fix, replace incorrect variable names.

Beta3

Small features:

  • Stamen Terrain map
  • Windbarb layer
  • Highlight vector shape when hover
  • Pan-and-zoom to MyLocation and open InfoWindow
  • Support for thin scrollbars using the class .oltb-thin-scrollbars
  • Subtracting intersections from drawn objects
  • Shape functionality, Union, Difference, Intersection, SymDifference
  • Updating color in the Edit Tool
  • Re-activate activated tool after application was reloaded

Refactoring:

  • Comments
  • Overall code quality
  • MomentaryActivation function for non-persistant tools
  • Module for creating feature tooltips
  • Reduce dependency between DirectionTool and general Tooltips
  • Directory naming, structure and hierarchy
  • Create URLManager
  • Create ToolManager, to remove global window.oltb
  • Collapsed toolboxes, class method
  • Consistent tool naming
  • Add click callback to all tools that is fired when the main tool-button is clicked
  • Consistent element ID-naming
  • Module for shortcut keys, as it is now, it is difficult to get an overview of who is already busy
    • modules/helpers/constants/ShortcutKeys.js
  • Module for ContextMenu instances
    • modules/helpers/constants/ContextMenus.js
  • Module for feature properties
    • modules/helpers/constants/FeatureProperties.js
  • Namespac (oltb) custom properties
  • Module for custom event-names, minimize errors coming from text literals
    • modules/helpers/constants/Events.js
  • Module for settings, minimize errors coming from text literals
    • modules/helpers/constants/Settings.js
  • Store references directly on the object and not in a const variable first
  • Consistent Fetch syntax
  • Consistent arrow-function/then/catch syntax when one argument
  • Create static Assert-class
  • Convert all anonymous functions in constructor to class methods
  • Make Uppercase CONST export/imports
  • Make Uppercase CONST variables outside classes
  • Use 4000ms as autoremove delay for Toast
  • Copy epsg files from ProjectionTool branch
  • Add pre defined projections to debug info window
  • Solution for not creating two features for FeatureMarkers
  • ScalieLine null declaration
  • ModalWindow last element margin-button, remove classes from Notification modal
  • Add accuracy and timeout properties to MyLocation constructor
  • Make DrawingTool default white bg-color with alpha same as MeasureTool

Bugs:

  • Measure tooltips is not removed when deleting a selected feature using the Edit-tool
  • MyLocation tool is triggered many times on button click and shortcut key
  • Notification tool is triggered many times when shortcut key is used
  • Info modal can be triggered many times when shortcut key is used
  • Debug tool is triggered many times when shortcut key is used
  • Unknown this.options in Contextmenu for Focus item
  • Space between spinner and text in Toasts
  • Close InfoWindow when a layer is removed
  • Measure tooltips are not exported in PNG (not a bug actually). Items that are not draw in the map canvas (normal HTML elements, known as Overlays) will not be picked up in the export. A merge between the map Canvas and the Canvas generated by html2canvas lib will fix this.

License

Hi @qulle the project looks very useful and nicely programmed. Currently the project does not have a license, which makes it hard to reuse it in other projects.
Adding a license might attract more people to reuse your code.

Improve usability on touch devices

On some clickable items a blue highlighted background/selection is show. This is annoying. This has nothing to do with accessibility so it should be safe to disable.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.