feat(voice): add reusable geometry actions

- turn named places and mapped landmarks into reusable bounded areas
- count loaded records inside resolved, drawn and annotated geometry
- find recent imagery for an area, the view or the pointer snapshot
- keep osm place search behind an operator-configured overpass endpoint
- preserve cancellation, ownership and follow-up memory across every action
- cover geometry, provider lifecycle, cache isolation and voice routing
This commit is contained in:
manjunath22466 committed 2026-10-03 10:23:38 +05:30
1 parent 01979bba1e
commit b234d7b427
84 files changed
+14262 -1681

No files matched your search

+17
View File
@@ -348,6 +348,23 @@ const layers = [
context: false,
noQuery: 'cable records are not loaded for queries',
},
{
// Results of the last osm_query ("hospitals in Kathmandu").
id: 'osm-places',
aliases: ['osm places', 'map search results', 'search results'],
context: false,
query: {
fields: {
name: ['t'],
kind: ['t'],
operator: ['t'],
emergency: ['t'],
wheelchair: ['t'],
openingHours: ['t'],
city: ['t'],
},
},
},
{
// Global Context owns this layer; voice reaches it through
// set_context_mode, never a bare toggle.