diff --git a/demo/my-map.historic.html b/demo/my-map.historic.html index 9a5d4f5..648ebf3 100644 --- a/demo/my-map.historic.html +++ b/demo/my-map.historic.html @@ -59,6 +59,9 @@

Historic Maps

"imports": { "my-map": "../my.js?my-map", "fullScreen": "https://unpkg.com/leaflet.fullscreen@3.0.0/Control.FullScreen.js" + }, + "myElements": { + "use": [ "my-map", "my-codepen-button" ] } } diff --git a/demo/my-map.html b/demo/my-map.html index edd8ade..80cd5af 100644 --- a/demo/my-map.html +++ b/demo/my-map.html @@ -6,6 +6,8 @@ + my-map Web Component

A map showing London landmarks.

+
- - <my-map - latlng="51.505,-0.09" - zoom="13" - geojson="./data/landmarks.geo.json" - > - <marker latlng="51.505, -0.09" hidden>Hello, I'm a popup!</marker> - - <p> Map description </p> - </my-map> - +
- + - +