diff --git a/docs/api/layer-api.md b/docs/api/layer-api.md index 347ba5c2..d22005e1 100644 --- a/docs/api/layer-api.md +++ b/docs/api/layer-api.md @@ -124,6 +124,10 @@ To get the ``'s opacity value: let layer = document.querySelector('map-layer'); let opacity = layer.opacity; ``` +--- +### media + +Reflects the [media](../elements/layer#media) attribute of the `` element. ### extent diff --git a/docs/api/map-link-api.md b/docs/api/map-link-api.md index 7fda9c5a..ad0e3118 100644 --- a/docs/api/map-link-api.md +++ b/docs/api/map-link-api.md @@ -4,6 +4,21 @@ title: HTMLLinkElement slug: /api/map-link-api --- +# HTMLLinkElement + +The `` element is intended to implement an extension of the HTML `` +element and `HTMLLinkElement` API. This document reflects proposed changes to that +API and is a work in progress. + + +## Properties + +### media + +Reflects the [media](../elements/link#media) attribute of the `` element. + +--- + This document is copied from the old "Custom Rendering API" page, and is under construction. It will eventually describe the API of the map-link custom element; the "Custom Rendering API" is currently sourced from the map-link custom element, diff --git a/docs/api/map-style-api.md b/docs/api/map-style-api.md new file mode 100644 index 00000000..512b9e9c --- /dev/null +++ b/docs/api/map-style-api.md @@ -0,0 +1,46 @@ +--- +id: map-style-api +title: "HTMLStyleElement" +slug: /api/map-style-api +--- + +# HTMLStyleElement + +The `` element is an extension of the HTML `