Feature #574
Updated by Alexander Watzinger over 8 years ago
[[Spatial Whitepaper]] of features.
*To do*
- implement new JSON functions (remove getPoints, getJsonData)
- move marker-color from model to map (css?)
- change search to use existing JSON
- look into missing image (marker-new)
- multiple points
- multiple polygons
- type
- count
- centerpoint for polygons
- look into polygons.php
- translations
- parameterize querys
- new structure dump
- remove old coordinate code (and db functions?)
- delete gis points if deleting object
*geojson for objects*
<pre>
These JavaScrapt variables will be set by the application. At insert/update/delete fields with the same name will be used
gisPointAll
gisPointSelected
gisPolygonAll
gisPolygonSelected
</pre>
<pre>
{
"type": "Feature",
"geometry": {
"type": "Point/Polygon",
"coordinates": [12.0094131678343,47.864675435946]
},
"properties": {
"title": "ObjectName",
"objectDescription": "ObjectDescription",
"siteType": "ObjectType",
"objectId": "134",
"count": "3",
"id": "1233",
"shapeType": "centerpoint/polygoncenter",
"name": "Prague Version 2",
"description": "a descriptive description"
}
},
{
"type": "Feature" ....
</pre>