diff --git a/config/examples/example.html b/config/examples/example.html index a6ddf6a5a2..8c0fb7dee4 100644 --- a/config/examples/example.html +++ b/config/examples/example.html @@ -8,7 +8,7 @@ - {{{ resources }}} + {{{ extra_head }}} {{{ css.tag }}} diff --git a/examples_src/d3.html b/examples_src/d3.html index 41499bf376..6b345e27eb 100644 --- a/examples_src/d3.html +++ b/examples_src/d3.html @@ -5,7 +5,9 @@ shortdesc: "Example of using ol3 and d3 together." docs: >
The example loads TopoJSON geometries and uses d3 (d3.geo.path) to render these geometries to a canvas element that is then used as the image of an ol3 image layer.
The popups are created using Popovers from Bootstrap.
tags: "overlay, popup, bootstrap, popover, mapquest, openaerial" -resources: overlay.css +resources: + - overlay.css ---This example demonstrates how you can customize the overviewmap control using its supported options as well as defining custom CSS. You can also rotate the map using the shift key to see how the overview map reacts.
tags: "overview, overviewmap" -resources: overviewmap-custom.css +resources: + - overviewmap-custom.css ---ol.Overlay is created with the popup container. A listener is registered for the map's click event to display the popup, and another listener is set as the click handler for the close button to hide the popup.
tags: "overlay, popup, mapquest, openaerial"
-resources: popup.css
+resources:
+ - popup.css
---