Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Maps4HTML/Web-Map-Custom-Element
A custom <mapml-viewer> and <layer-> element suite
https://github.com/Maps4HTML/Web-Map-Custom-Element
custom-elements dom hypertext mapml maps progressive-enhancement web-platform
Last synced: 3 months ago
JSON representation
A custom <mapml-viewer> and <layer-> element suite
- Host: GitHub
- URL: https://github.com/Maps4HTML/Web-Map-Custom-Element
- Owner: Maps4HTML
- License: other
- Created: 2015-07-30T18:50:20.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T00:14:55.000Z (3 months ago)
- Last Synced: 2024-04-01T01:25:39.379Z (3 months ago)
- Topics: custom-elements, dom, hypertext, mapml, maps, progressive-enhancement, web-platform
- Language: JavaScript
- Homepage: https://maps4html.org/Web-Map-Custom-Element/
- Size: 92.7 MB
- Stars: 52
- Watchers: 11
- Forks: 14
- Open Issues: 142
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Lists
- jimsghstars - Maps4HTML/Web-Map-Custom-Element - A custom <mapml-viewer> and <layer-> element suite (JavaScript)
- awesome-stars - Web-Map-Custom-Element - viewer> and <layer-> element suite | Maps4HTML | 33 | (JavaScript)
- awesome-starred - Maps4HTML/Web-Map-Custom-Element - A custom <mapml-viewer> and <layer-> element suite (others)
README
![Continuous Testing](badge.svg)
# <mapml-viewer>
The <mapml-viewer> is a declarative vocabulary for Web mapping that extends
HTML to include modern Web maps. It is a pilot / reference implementation of the
proposed and evolving [Map Markup Language](https://maps4html.org/web-map-doc/docs/)
Web standard.## Installation
```console
$ npm install @maps4html/web-map-custom-element
```See [instructions](https://maps4html.org/web-map-doc/docs/installation#install-the-mapml-viewer-suite-of-custom-elements) for further details.
## Usage
You create a map with one or more layers via the <mapml-viewer> HTML tag. Add
layers via the <layer-> tag with content OR a src attribute pointing to a
MapML document (must be served as either `text/mapml` or `application/xml` content
type):```html
```
OR inline content
```html
```
## Contributing
See [CONTRIBUTING](https://github.com/Maps4HTML/Web-Map-Custom-Element/blob/main/CONTRIBUTING.md#contributing-to-mapml) for details, but generally:
0. Join our [Community Group](https://www.w3.org/community/wp-login.php?redirect_to=%2Fcommunity%2Fmaps4html%2Fjoin)
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D## History
TODO: Write history
## Credits
Map for HTML Community members and supporters past, present and future.
## License
All Reports in this Repository are licensed by Contributors under the
[W3C Software and Document License](http://www.w3.org/Consortium/Legal/2015/copyright-software-and-document).
Contributions to Specifications are made under the
[W3C CLA](https://www.w3.org/community/about/agreements/cla/).