Add custom style renderer example

This commit is contained in:
Andreas Hocevar
2020-08-24 23:43:22 +02:00
parent a161ba82d9
commit 9e7bbb0d4e
2 changed files with 86 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
---
layout: example.html
title: Style renderer
shortdesc: Example of a style with a custom renderer.
docs: >
A custom style renderer, a prerender event and different global composite operations are used to render the flag of a country as fill for the country shape.
tags: "vector, geojson, style, custom, renderer"
---
<div id="map" class="map"></div>
<div id="info">&nbsp;</div>