Mercurial > lada > lada-client
comparison app/model/Ort.js @ 1284:faecbb446a04
Ortserstellung: new Messpunkt from map, clone or form
functional, still needs error handling and layout
author | Maximilian Krambach <mkrambach@intevation.de> |
---|---|
date | Tue, 24 Jan 2017 12:58:26 +0100 |
parents | 2caaaa690e17 |
children | bfdc00c24baf |
comparison
equal
deleted
inserted
replaced
1283:9d298c82575f | 1284:faecbb446a04 |
---|---|
27 }, { | 27 }, { |
28 name: 'gemId' | 28 name: 'gemId' |
29 }, { | 29 }, { |
30 name: 'staatId' | 30 name: 'staatId' |
31 }, { | 31 }, { |
32 name: 'kdaId' | 32 name: 'kdaId', |
33 convert: function(v) { | |
34 if (v === '') { | |
35 return null; | |
36 } | |
37 return v; | |
38 } | |
33 }, { | 39 }, { |
34 name: 'ozId', | 40 name: 'ozId', |
35 serialize: function(v) { | 41 serialize: function(v) { |
36 if (v === '') { | 42 if (v === '') { |
37 return null; | 43 return null; |
57 }, { | 63 }, { |
58 name: 'unscharf' | 64 name: 'unscharf' |
59 }, { | 65 }, { |
60 name: 'hoeheLand' | 66 name: 'hoeheLand' |
61 }, { | 67 }, { |
62 name: 'koordXExtern' | 68 name: 'koordXExtern', |
69 convert: function(v) { | |
70 if (v === '') { | |
71 return null; | |
72 } | |
73 return v; | |
74 } | |
63 }, { | 75 }, { |
64 name: 'koordYExtern' | 76 name: 'koordYExtern', |
77 convert: function(v) { | |
78 if (v === '') { | |
79 return null; | |
80 } | |
81 return v; | |
82 } | |
65 }, { | 83 }, { |
66 name: 'longitude', | 84 name: 'longitude', |
67 type: 'float' | 85 type: 'float' |
68 }, { | 86 }, { |
69 name: 'latitude', | 87 name: 'latitude', |