Interactive SVG layer example
This commit is contained in:
9
examples/svg-layer.html
Normal file
9
examples/svg-layer.html
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
layout: example.html
|
||||
title: SVG Layer
|
||||
shortdesc: Example of a map with an interactive svg layer.
|
||||
docs: >
|
||||
With a plain `ol/Layer` and a `render` function, we can use an interactive svg as layer. Hover over countries to see the interactivity that is defined purely with a css `:hover` pseudo-class.
|
||||
tags: "svg, layer, render, transform"
|
||||
---
|
||||
<div id="map" class="map"></div>
|
||||
Reference in New Issue
Block a user