A custom
The
$ npm install @maps4html/web-map-custom-element
See instructions for further details.
You create a map with one or more layers via the text/mapml
or application/xml
content
type):
<mapml-viewer projection="OSMTILE" zoom="0" lat="0.0" lon="0.0" controls>
<layer- label="OpenStreetMap" src="https://geogratis.gc.ca/mapml/en/osmtile/osm/" checked></layer->
</mapml-viewer>
OR inline content
<mapml-viewer projection="OSMTILE" lat="10" lon="0" zoom="1" controls>
<layer- label="OpenStreetMap" checked>
<map-extent units="OSMTILE">
<map-input name="z" type="zoom" value="18" min="0" max="18"></map-input>
<map-input name="x" type="location" units="tilematrix" axis="column" min="0" max="262144"></map-input>
<map-input name="y" type="location" units="tilematrix" axis="row" min="0" max="262144"></map-input>
<map-link rel="tile" tref="https://tile.openstreetmap.org/{z}/{x}/{y}.png"></map-link>
</map-extent>
</layer->
</mapml-viewer>
See CONTRIBUTING for details, but generally:
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
TODO: Write history
Map for HTML Community members and supporters past, present and future.
All Reports in this Repository are licensed by Contributors under the
W3C Software and Document License.
Contributions to Specifications are made under the
W3C CLA.