Skip to content

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