87 | | * [wiki:BluePrintGISLocationsHierarchy Location Selector]: |
88 | | * [wiki:BluePrintGISSelectLocationFromMap Add Location by placing cursor on Map]: #487 (done basics) |
89 | | * Update screen Marker should be in the same layer & replaced by the create feature tool |
90 | | * use Drag tool not Draw tool? |
91 | | * Set Map's Draw tool to depressed dynamically in Update forms if no Lat/Lon yet specified |
92 | | * Create Map should also read whether a Lat/Lon has been entered into the Fields & use that to show the initial Marker (=> Dynamic Map!) |
93 | | * Want to zoom to the relevant area of the map based on the selected locations hierarchy (needs polygon data) |
94 | | * When selecting Lat Lon from the map, change the mouse cursor to crosshair |
95 | | * This is partially-working: clicking the button on enables the crosshair, clicking it off disables, but currently it's not being set on 1st load |
96 | | * See nearby locations (Feature Markers) & be able to select them as an alternative to placing a new Marker (nice message saying 'Do you mean...) |
97 | | * Hierarchical Autocomplete for Locations: #502 |
98 | | * If an Lx is selected in Autocomplete then load the appropriate dropdown (& any above it) & put this in there |
99 | | * freeing up the Name field again for a sub-location |
100 | | * When saving a Create form & it fails validation then lose our location_id setting |
101 | | * The Add Location popup should only download the correct value for 'parent' (not entire list) if we're going to set/hide anyway |
102 | | * A user might wish to select an existing location & then amend the hierarchy! |
103 | | * make people do this via the 'Locations' menu? (Give them Help on this?) |
104 | | * Changing things in higher levels should clear lower levels? |
105 | | * Check whether fields are readable/writable (e.g. addr_street may need to be hidden from some modules) |
106 | | * Add Geocoder support |
107 | | * Add !DrawTool icon in help (like is already there in the Location Update form) |
108 | | * Use subheadings CSS instead of ASCII ---- |
109 | | * Download hierarchy levels to a Store in the background to improve performance? |
110 | | * shn_read/shn_list - replace existing system in read/list? (consistency & ease of maintenance) |
111 | | * ~~~Update form: Hierarchy needs populating from old record~~~ |
112 | | * ~~~Include a Search box underneath the hierarchy which is an Autocomplete filtered to the appropriate level that we've already selected~~~ |
113 | | * ~~~Format of results should include the hierarchy of missing steps to help resolve duplicate names~~~ |
114 | | * ~~~Add a visible field for location name beside address (defaults to being populated by the name of the resource, but can be overridden)~~~ |
115 | | * ~~~The extra 'Save Location' button shouldn't be required (Auto-Save when main form is submitted. Does this make code simpler as only need to update location_id at the end?)~~~ |
116 | | * ~~~Handle the case where we link to a general Lx Location record & which we now refine to add a Street Address or Lat/Lon~~~ |
117 | | * ~~~we have a UUID but the 1st update should be either just changing location_id (if using the hierarchy) or creating a new record (if using lat/lon or addr_street)~~~ |
118 | | * Don't display Lat/Lon for Admin levels (Lx)? |
119 | | * ~~if shn_has_role(!MapAdmin): Provide an 'Add Location' option next to each level of hierarchy~~ |
120 | | * ~~L1-L2 Levels shouldn't be editable by non-!MapAdmins (& should be auto-selected by !MapAdmins)~~ |
121 | | * Include the functionality in {{{views/gis/location_autocomplete.js}}} inside the definition of the 'location_id' reusable field |
| 87 | ===== Map-based Selector ===== |
| 88 | * [wiki:BluePrintGISSelectLocationFromMap Add Location by placing cursor on Map]: #487 (done basics) |
| 89 | * Update screen Marker should be in the same layer & replaced by the create feature tool |
| 90 | * use Drag tool not Draw tool? |
| 91 | * Set Map's Draw tool to depressed dynamically in Update forms if no Lat/Lon yet specified |
| 92 | * Create Map should also read whether a Lat/Lon has been entered into the Fields & use that to show the initial Marker (=> Dynamic Map!) |
| 93 | * Want to zoom to the relevant area of the map based on the selected locations hierarchy (needs polygon data) |
| 94 | * When selecting Lat Lon from the map, change the mouse cursor to crosshair |
| 95 | * This is partially-working: clicking the button on enables the crosshair, clicking it off disables, but currently it's not being set on 1st load |
| 96 | * See nearby locations (Feature Markers) & be able to select them as an alternative to placing a new Marker (nice message saying 'Do you mean...) |
| 97 | ===== Hierarchical Autocomplete for Locations: #502 ===== |
| 98 | * If an Lx is selected in Autocomplete then load the appropriate dropdown (& any above it) & put this in there |
| 99 | * freeing up the Name field again for a sub-location |
| 100 | * When saving a Create form & it fails validation then lose our location_id setting |
| 101 | * The Add Location popup should only download the correct value for 'parent' (not entire list) if we're going to set/hide anyway |
| 102 | * A user might wish to select an existing location & then amend the hierarchy! |
| 103 | * make people do this via the 'Locations' menu? (Give them Help on this?) |
| 104 | * Changing things in higher levels should clear lower levels? |
| 105 | * Check whether fields are readable/writable (e.g. addr_street may need to be hidden from some modules) |
| 106 | * Add Geocoder support |
| 107 | * Add !DrawTool icon in help (like is already there in the Location Update form) |
| 108 | * Use subheadings CSS instead of ASCII ---- |
| 109 | * Download hierarchy levels to a Store in the background to improve performance? |
| 110 | * shn_read/shn_list - replace existing system in read/list? (consistency & ease of maintenance) |
| 111 | * ~~~Update form: Hierarchy needs populating from old record~~~ |
| 112 | * ~~~Include a Search box underneath the hierarchy which is an Autocomplete filtered to the appropriate level that we've already selected~~~ |
| 113 | * ~~~Format of results should include the hierarchy of missing steps to help resolve duplicate names~~~ |
| 114 | * ~~~Add a visible field for location name beside address (defaults to being populated by the name of the resource, but can be overridden)~~~ |
| 115 | * ~~~The extra 'Save Location' button shouldn't be required (Auto-Save when main form is submitted. Does this make code simpler as only need to update location_id at the end?)~~~ |
| 116 | * ~~~Handle the case where we link to a general Lx Location record & which we now refine to add a Street Address or Lat/Lon~~~ |
| 117 | * ~~~we have a UUID but the 1st update should be either just changing location_id (if using the hierarchy) or creating a new record (if using lat/lon or addr_street)~~~ |
| 118 | * Don't display Lat/Lon for Admin levels (Lx)? |
| 119 | * ~~if shn_has_role(!MapAdmin): Provide an 'Add Location' option next to each level of hierarchy~~ |
| 120 | * ~~L1-L2 Levels shouldn't be editable by non-!MapAdmins (& should be auto-selected by !MapAdmins)~~ |
| 121 | * Include the functionality in {{{views/gis/location_autocomplete.js}}} inside the definition of the 'location_id' reusable field |