From f02de1140e795390829c0252b04927c88b6b323a Mon Sep 17 00:00:00 2001 From: mourner Date: Thu, 15 Dec 2011 12:21:42 +0200 Subject: [PATCH] revert geojson debug files --- debug/geojson/geojson-sample.js | 8 ++++---- debug/geojson/geojson.html | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/debug/geojson/geojson-sample.js b/debug/geojson/geojson-sample.js index a16b4b03..562423d6 100644 --- a/debug/geojson/geojson-sample.js +++ b/debug/geojson/geojson-sample.js @@ -12,7 +12,7 @@ var geojsonSample = { "color": "blue" } }, - + { "type": "Feature", "geometry": { @@ -24,7 +24,7 @@ var geojsonSample = { "prop1": 0.0 } }, - + { "type": "Feature", "geometry": { @@ -43,8 +43,8 @@ var geojsonSample = { "type": "Feature", "geometry": { "type": "MultiPolygon", - "coordinates": [[[[-151.875,-14.0625],[-146.25,-14.0625],[-146.25,-11.25],[-151.875,-11.25],[-151.875,-14.0625]]],[[[-180,-5.625],[-174.375,-5.625],[-174.375,-2.8125],[-180,-2.8125],[-180,-5.625]]],[[[-174.375,-5.625],[-168.75,-5.625],[-168.75,-2.8125],[-174.375,-2.8125],[-174.375,-5.625]]],[[[-174.375,-2.8125],[-168.75,-2.8125],[-168.75,0],[-174.375,0],[-174.375,-2.8125]]],[[[-151.875,-11.25],[-146.25,-11.25],[-146.25,-8.4375],[-151.875,-8.4375],[-151.875,-11.25]]],[[[-157.5,-8.4375],[-151.875,-8.4375],[-151.875,-5.625],[-157.5,-5.625],[-157.5,-8.4375]]],[[[-157.5,-5.625],[-151.875,-5.625],[-151.875,-2.8125],[-157.5,-2.8125],[-157.5,-5.625]]],[[[101.25,-8.4375],[106.875,-8.4375],[106.875,-5.625],[101.25,-5.625],[101.25,-8.4375]]],[[[106.875,-8.4375],[112.5,-8.4375],[112.5,-5.625],[106.875,-5.625],[106.875,-8.4375]]],[[[101.25,-5.625],[112.5,-5.625],[112.5,0],[101.25,0],[101.25,-5.625]]],[[[112.5,-8.4375],[118.125,-8.4375],[118.125,-5.625],[112.5,-5.625],[112.5,-8.4375]]],[[[118.125,-8.4375],[123.75,-8.4375],[123.75,-5.625],[118.125,-5.625],[118.125,-8.4375]]],[[[129.375,-11.25],[135,-11.25],[135,-8.4375],[129.375,-8.4375],[129.375,-11.25]]],[[[123.75,-8.4375],[129.375,-8.4375],[129.375,-5.625],[123.75,-5.625],[123.75,-8.4375]]],[[[129.375,-8.4375],[135,-8.4375],[135,-5.625],[129.375,-5.625],[129.375,-8.4375]]],[[[112.5,-5.625],[123.75,-5.625],[123.75,0],[112.5,0],[112.5,-5.625]]],[[[123.75,-5.625],[135,-5.625],[135,0],[123.75,0],[123.75,-5.625]]],[[[135,-11.25],[140.625,-11.25],[140.625,-8.4375],[135,-8.4375],[135,-11.25]]],[[[140.625,-11.25],[146.25,-11.25],[146.25,-8.4375],[140.625,-8.4375],[140.625,-11.25]]],[[[135,-8.4375],[140.625,-8.4375],[140.625,-5.625],[135,-5.625],[135,-8.4375]]],[[[135,-5.625],[140.625,-5.625],[140.625,-2.8125],[135,-2.8125],[135,-5.625]]],[[[135,-2.8125],[140.625,-2.8125],[140.625,0],[135,0],[135,-2.8125]]],[[[140.625,-2.8125],[146.25,-2.8125],[146.25,0],[140.625,0],[140.625,-2.8125]]],[[[168.75,-2.8125],[174.375,-2.8125],[174.375,0],[168.75,0],[168.75,-2.8125]]],[[[174.375,-2.8125],[180,-2.8125],[180,0],[174.375,0],[174.375,-2.8125]]],[[[-180,0],[-135,0],[-135,22.5],[-180,22.5],[-180,0]]],[[[-135,0],[-90,0],[-90,22.5],[-135,22.5],[-135,0]]],[[[-180,22.5],[-135,22.5],[-135,45],[-180,45],[-180,22.5]]],[[[-135,22.5],[-112.5,22.5],[-112.5,33.75],[-135,33.75],[-135,22.5]]],[[[-112.5,22.5],[-101.25,22.5],[-101.25,28.125],[-112.5,28.125],[-112.5,22.5]]],[[[-135,33.75],[-123.75,33.75],[-123.75,39.375],[-135,39.375],[-135,33.75]]],[[[-123.75,33.75],[-112.5,33.75],[-112.5,39.375],[-123.75,39.375],[-123.75,33.75]]],[[[-135,39.375],[-123.75,39.375],[-123.75,45],[-135,45],[-135,39.375]]],[[[-90,0],[-67.5,0],[-67.5,11.25],[-90,11.25],[-90,0]]],[[[-90,11.25],[-78.75,11.25],[-78.75,16.875],[-90,16.875],[-90,11.25]]],[[[-180,45],[-157.5,45],[-157.5,56.25],[-180,56.25],[-180,45]]],[[[-157.5,45],[-135,45],[-135,56.25],[-157.5,56.25],[-157.5,45]]],[[[-168.75,56.25],[-157.5,56.25],[-157.5,61.875],[-168.75,61.875],[-168.75,56.25]]],[[[-157.5,56.25],[-146.25,56.25],[-146.25,61.875],[-157.5,61.875],[-157.5,56.25]]],[[[-146.25,56.25],[-135,56.25],[-135,61.875],[-146.25,61.875],[-146.25,56.25]]],[[[-135,45],[-123.75,45],[-123.75,50.625],[-135,50.625],[-135,45]]],[[[-135,50.625],[-123.75,50.625],[-123.75,56.25],[-135,56.25],[-135,50.625]]],[[[-135,56.25],[-123.75,56.25],[-123.75,61.875],[-135,61.875],[-135,56.25]]],[[[-11.25,50.625],[0,50.625],[0,56.25],[-11.25,56.25],[-11.25,50.625]]],[[[101.25,0],[112.5,0],[112.5,5.625],[101.25,5.625],[101.25,0]]],[[[101.25,5.625],[112.5,5.625],[112.5,11.25],[101.25,11.25],[101.25,5.625]]],[[[112.5,0],[135,0],[135,11.25],[112.5,11.25],[112.5,0]]],[[[101.25,11.25],[112.5,11.25],[112.5,16.875],[101.25,16.875],[101.25,11.25]]],[[[101.25,16.875],[112.5,16.875],[112.5,22.5],[101.25,22.5],[101.25,16.875]]],[[[112.5,11.25],[135,11.25],[135,22.5],[112.5,22.5],[112.5,11.25]]],[[[135,0],[180,0],[180,22.5],[135,22.5],[135,0]]],[[[112.5,22.5],[123.75,22.5],[123.75,28.125],[112.5,28.125],[112.5,22.5]]],[[[123.75,22.5],[135,22.5],[135,28.125],[123.75,28.125],[123.75,22.5]]],[[[123.75,28.125],[135,28.125],[135,33.75],[123.75,33.75],[123.75,28.125]]],[[[123.75,33.75],[135,33.75],[135,39.375],[123.75,39.375],[123.75,33.75]]],[[[135,22.5],[180,22.5],[180,45],[135,45],[135,22.5]]],[[[146.25,45],[157.5,45],[157.5,50.625],[146.25,50.625],[146.25,45]]],[[[146.25,50.625],[157.5,50.625],[157.5,56.25],[146.25,56.25],[146.25,50.625]]],[[[157.5,45],[180,45],[180,56.25],[157.5,56.25],[157.5,45]]]] + "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 +}; diff --git a/debug/geojson/geojson.html b/debug/geojson/geojson.html index ff89e67a..8ef7c318 100644 --- a/debug/geojson/geojson.html +++ b/debug/geojson/geojson.html @@ -23,8 +23,8 @@ cloudmade = new L.TileLayer(cloudmadeUrl, {maxZoom: 18, attribution: cloudmadeAttribution}); var map = new L.Map('map', { - center: new L.LatLng(0.78, 0.37), - zoom: 1, + center: new L.LatLng(0.78, 102.37), + zoom: 7, layers: [cloudmade] });