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

Restructures src directory and implements RollUpJS #132

Merged
merged 56 commits into from
Aug 13, 2020

Conversation

ahmadayubi
Copy link
Member

Closes #120

Splits the mapml.js file into several files in the following heirarchy:
src
├── mapml
│ ├── handlers
│ │ ├── ContextMenu.js
│ │ └── QueryHandler.js
│ ├── layers
│ │ ├── ControlLayer.js
│ │ ├── FeatureLayer.js
│ │ ├── ImageLayer.js
│ │ ├── MapLayer.js
│ │ ├── StaticTileLayer.js
│ │ ├── TemplatedFeaturesLayer.js
│ │ ├── TemplatedImageLayer.js
│ │ ├── TemplatedLayer.js
│ │ └── TemplatedTileLayer.js
│ ├── utils
│ │ ├── Constants.js
│ │ └── Util.js
│ └── index.js
├── layer.js
├── map-area.js
├── mapml.css
├── mm-mapp.js
└── web-map.js

To build the entire project including mapml.js inside /dist, run the same grunt task as before (grunt / default).

To generate mapml.js only inside of /dist, run grunt / build.
The PR contains 50+ commits that were necessary according to the following link:
Splitting a file while preserving line history

@prushforth prushforth merged commit d6d1dc5 into Maps4HTML:master Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate different MapML components to separate files
2 participants