mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
feat: add a tool that links to an area in the app
Add open_in_gods_eye_view. It builds a version 2 share link looking straight down on an area, with altitude chosen from the area's size, on the app address the application supplies.
This commit is contained in:
1 parent
9d12da0a79
commit
b6af8b34e0
8 files changed
+120
-3
No files matched your search
@@ -13,7 +13,8 @@ pass over a point, and those overhead now), public cameras (including a
|
||||
camera's current image), radio stations, place search, routing, bike-share
|
||||
stations, transit vehicles, road traffic flow, weather, regional briefs, tropical cyclones, fire
|
||||
perimeters, terrain height, military installations and map features, plus a
|
||||
combined situation brief and the app's heads-up display caption. Tools reuse the layers' portable source factories, take a
|
||||
combined situation brief, the app's heads-up display caption, and a link that
|
||||
opens the app over an area. Tools reuse the layers' portable source factories, take a
|
||||
shared `area` argument (place name, bounding box, or point and radius) and cap
|
||||
lists at 25 rows by default. The app does not import the tools, so its runtime
|
||||
behavior is unchanged. See [tools and the MCP server](TOOLS.md).
|
||||
|
||||
+2
-1
@@ -52,7 +52,7 @@ code runs wherever an application routes those paths.
|
||||
The `weather`, `regional`, `terrain`, `summary` and `features` services are the
|
||||
application request services from `gods-eye-view/application/requests`.
|
||||
`situation_brief` runs each section whose services are supplied and marks the
|
||||
others unavailable. The `bikeshare` service is `{ systems, getStations }`: the system registry and
|
||||
others unavailable. `app` is `{ baseUrl }`, the address links open. The `bikeshare` service is `{ systems, getStations }`: the system registry and
|
||||
the GBFS source. `createGeocodePlaceService` resolves place names through `/api/geocode`;
|
||||
`createPlaceSearchService` searches `/api/google/*` and reports when no search key
|
||||
is configured; `createRouteService` plans routes through `/api/route`.
|
||||
@@ -122,3 +122,4 @@ public feeds the sources already use.
|
||||
| `get_map_features` | `features` | Administrative areas, named places or monuments at a location (needs Overpass) |
|
||||
| `situation_brief` | `weather` | Weather, earthquakes, fires, aircraft, ships and cyclones for an area, by section |
|
||||
| `get_hud_caption` | `weather`, `summary` | The app's heads-up display caption for an area |
|
||||
| `open_in_gods_eye_view` | `app` | A share link looking straight down on an area |
|
||||
Reference in new issue
Block a user