aboutsummaryrefslogtreecommitdiffstats
path: root/extlib/leaflet/debug/geojson/geojson-sample.js
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2012-01-10 01:54:37 +0100
committerJoar Wandborg <git@wandborg.com>2012-01-25 23:42:04 +0100
commitc5ba5b0456a711d157e317f220e9c739226e7f50 (patch)
tree2800568ac8e484649a978e0fe7e682a8bcfe20d4 /extlib/leaflet/debug/geojson/geojson-sample.js
parentc47a03b909ecd97cab5b144d0cab007b62b92a90 (diff)
downloadmediagoblin-c5ba5b0456a711d157e317f220e9c739226e7f50.tar.lz
mediagoblin-c5ba5b0456a711d157e317f220e9c739226e7f50.tar.xz
mediagoblin-c5ba5b0456a711d157e317f220e9c739226e7f50.zip
Installed leaflet in extlib
Diffstat (limited to 'extlib/leaflet/debug/geojson/geojson-sample.js')
-rw-r--r--extlib/leaflet/debug/geojson/geojson-sample.js50
1 files changed, 50 insertions, 0 deletions
diff --git a/extlib/leaflet/debug/geojson/geojson-sample.js b/extlib/leaflet/debug/geojson/geojson-sample.js
new file mode 100644
index 00000000..24ecf050
--- /dev/null
+++ b/extlib/leaflet/debug/geojson/geojson-sample.js
@@ -0,0 +1,50 @@
+var geojsonSample = {
+ "type": "FeatureCollection",
+ "features": [
+ {
+ "type": "Feature",
+ "geometry": {
+ "type": "Point",
+ "coordinates": [102.0, 0.5]
+ },
+ "properties": {
+ "prop0": "value0",
+ "color": "blue"
+ }
+ },
+
+ {
+ "type": "Feature",
+ "geometry": {
+ "type": "LineString",
+ "coordinates": [[102.0, 0.0], [103.0, 1.0], [104.0, 0.0], [105.0, 1.0]]
+ },
+ "properties": {
+ "color": "red",
+ "prop1": 0.0
+ }
+ },
+
+ {
+ "type": "Feature",
+ "geometry": {
+ "type": "Polygon",
+ "coordinates": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]]]
+ },
+ "properties": {
+ "color": "green",
+ "prop1": {
+ "this": "that"
+ }
+ }
+ },
+
+ {
+ "type": "Feature",
+ "geometry": {
+ "type": "MultiPolygon",
+ "coordinates": [[[[100.0, 1.5], [100.5, 1.5], [100.5, 2.0], [100.0, 2.0], [100.0, 1.5]]], [[[100.5, 2.0], [100.5, 2.5], [101.0, 2.5], [101.0, 2.0], [100.5, 2.0]]]]
+ }
+ }
+ ]
+}; \ No newline at end of file