Maps4HTML / MapML-Specification

Map Markup Language is hypertext for Web maps, like HTML is hypertext for Web pages https://maps4html.org/MapML-Specification/spec/
Other
55 stars 12 forks source link

Open Graph Protocol extension #193

Open Malvoz opened 3 years ago

Malvoz commented 3 years ago

The Open Graph Protocol (OGP) is the de-facto standard for describing resources for sharing.

MapML can define a new map object (and relevant properties) allowing authors to mark up documents with metadata describing maps to be displayed on social sharing sites.

Example metadata:

<meta property="og:map:projection" content="CBMTILE">
<meta property="og:map:zoom" content="15">
<meta property="og:map:latitude" content="45.4215">
<meta property="og:map:longitude" content="-75.6972">
<meta property="og:map:layer" content="https://geogratis.gc.ca/mapml/en/cbmtile/cbmt/">
<!-- optionally multiple layer sources -->
<meta property="og:map:alt" content="Ottawa, Capital of Canada">