MapML icon indicating copy to clipboard operation
MapML copied to clipboard

Open Graph Protocol extension

Open Malvoz opened this issue 4 years ago • 0 comments

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">

Malvoz avatar Jun 23 '21 15:06 Malvoz