Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move "g3w-ol/g3w.ol" into "gui/map/mapservice" #459

Merged
merged 10 commits into from
Aug 21, 2023
Merged

Conversation

Raruto
Copy link
Collaborator

@Raruto Raruto commented Jul 25, 2023

Motivation

Related to: #291 and #193

Reducing overall complexity related to the g3w-ol folder and facilitating a future refactoring of the MapService class.

List of changes

  • delete useless file: src/app/g3w-ol/g3w.ol.js (as it's just a wrapper for the g3w-ol/map/maphelpers module)
  • move src/app/g3w-ol/map/maphelpers.js into src/app/gui/map/mapservice.js (ie. the only place where it is actually in use)
  • convert internal class to ES6 (OlMapViewer)

- delete useless file: `src/app/g3w-ol/g3w.ol.js`
- move `src/app/g3w-ol/map/maphelpers.js` into `src/app/gui/map/mapservice.js`
- convert internal class to ES6 (OlMapViewer)
@Raruto Raruto added the refactoring Anything which could result in a API change label Jul 25, 2023
@Raruto Raruto added this to the v3.9 milestone Jul 25, 2023
@volterra79 volterra79 self-requested a review August 21, 2023 09:05
src/app/gui/map/mapservice.js Outdated Show resolved Hide resolved
@Raruto Raruto merged commit 3c11d00 into dev Aug 21, 2023
@Raruto Raruto deleted the refactor-maphelpers branch August 21, 2023 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Anything which could result in a API change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants