Adds an editor for geometry and properties

This commit is contained in:
Laurent Bossavit 2016-05-05 22:31:54 +02:00
parent 6ef16787ab
commit 8bf79a1288
4 changed files with 285 additions and 10 deletions

69
examples/other.json Normal file
View file

@ -0,0 +1,69 @@
{
"geometry":
{
"type": "Polygon",
"coordinates": [
[
[
2.396119236946106,
48.84943571607033
],
[
2.395314574241638,
48.84936511598567
],
[
2.394644021987915,
48.8490791846248
],
[
2.394316792488098,
48.84860968884877
],
[
2.3943114280700684,
48.84820020021693
],
[
2.3946386575698853,
48.84773775644264
],
[
2.3950570821762085,
48.84749064733159
],
[
2.3957008123397827,
48.84733532098047
],
[
2.396720051765442,
48.8474694664939
],
[
2.3973584175109863,
48.84796368370562
],
[
2.39751398563385,
48.84849672680203
],
[
2.3970580101013184,
48.849114484881156
],
[
2.396119236946106,
48.84943571607033
]
]
]
}
,
"properties":{
"type":"protest"
,"what":"Loi travail"
,"start":"2016-06-10T21:00+01:00"
,"stop":"2016-06-10T23:30+01:00"
}
}