hd-map-backdrop
A still, faded map behind a tile’s content (A.1), centred on a place, with the hd-map-pin children as small marks; the place moves over the picture and a new picture is drawn once it leaves the middle. A picture, not a live map: no WebGL per tile. E-ink: grey. Reduced motion: no fades or gliding.
| Attribute | What it is |
|---|---|
lat | Latitude of the place it shows, in degrees. |
lon | Longitude of the place it shows, in degrees. |
zoom | How close it comes, 3 to 17 (14: the streets around it).Default 14. |
look | auto follows the theme (light or dark); or always light, dark or streets.One of auto, light, dark, streets. Default auto. |
fade | How much of the map shows through the tile, evenly: soft shows most.One of soft, medium, strong. Default medium. |
labels | false leaves out street names, places and symbols.Default true. |
label | Accessible label.Default Map. |
<hd-map-backdrop lat="52.3731" lon="4.8922" zoom="14" fade="soft"> <hd-map-pin lat="52.3731" lon="4.8922"></hd-map-pin></hd-map-backdrop><p>Home</p>