-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor function
LayerFactory::get(config = {})
(#449)
* refactor function `LayerFactory::get(config = {})` - simplify nested `switch-if` logic - convert `LayerFactory` to ES6 class * delete folder `src/app/core/layers/baselayers/` * Add comments and change variable names * start simplifying geomtype * missing var * add `is_empty` * shorten variable names * Add source variable and handle no and has geom * comments * refactor is_table_layer is_image_layer * explicit boolean condition * simplify please * Fix missing bracket and explicit boolean condition * remove yoda --------- Co-authored-by: volterra79 <[email protected]>
- Loading branch information
1 parent
3d44a21
commit 795b213
Showing
9 changed files
with
191 additions
and
279 deletions.
There are no files selected for viewing
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.