From 2ef0e0db23269c96e814b17970ca341e14d52911 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Thu, 2 Apr 2015 19:07:56 +0200 Subject: [PATCH] Templetize tileutfgrid example --- examples_src/tileutfgrid.css | 6 +++ examples_src/tileutfgrid.html | 89 +++++++++-------------------------- 2 files changed, 27 insertions(+), 68 deletions(-) create mode 100644 examples_src/tileutfgrid.css diff --git a/examples_src/tileutfgrid.css b/examples_src/tileutfgrid.css new file mode 100644 index 0000000000..b45853acf6 --- /dev/null +++ b/examples_src/tileutfgrid.css @@ -0,0 +1,6 @@ +#country-name { + color: black; + font-size: 12pt; + font-weight: bold; + text-shadow: white 0.1em 0.1em 0.2em; +} diff --git a/examples_src/tileutfgrid.html b/examples_src/tileutfgrid.html index 23c39c577c..668fd27c33 100644 --- a/examples_src/tileutfgrid.html +++ b/examples_src/tileutfgrid.html @@ -1,69 +1,22 @@ - - - - - - - - - - - - TileUTFGrid example - - +--- +template: "example.html" +title: "TileUTFGrid example" +shortdesc: "This example shows how to read data from a TileUTFGrid layer." +docs: > +

Point to a country to see its name and flag.

+ Tiles made with [TileMill](http://tilemill.com). Hosting on MapBox.com or with open-source [TileServer](https://github.com/klokantech/tileserver-php/). +tags: "utfgrid, tileutfgrid, tilejson" +--- +
+
+
+
+
- - -
- -
-
-
-
-
- -
- -
-

TileUTFGrid example

-

This example shows how to read data from a TileUTFGrid layer.

-

Point to a country to see its name and flag.

-
-

Tiles made with TileMill. Hosting on MapBox.com or with open-source TileServer.

-

See the tileutfgrid.js source to see how this is done.

-
-
utfgrid, tileutfgrid, tilejson
-
- -
- -
- -
- -
-
 
- -
-
- - - - - - - +
+ +
+
 
+ +
+