mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
feat(mapillary): street-level layer core — coverage, sequences, viewer bridge, query engine
Camera-driven Mapillary coverage (z0–5 overview points from orbit, z11–14 ground-clamped sequence lines below 60 km), per-sequence image cones, an embedded MapillaryJS viewer bridge with a camera-follow mode, sprite icons for map features, and a query engine that turns a plan into a streamed z14 tile fan-out. Registers an on-globe CC BY-SA 4.0 credit while enabled. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
0d41b6be54
commit
fa5710bcf2
46 files changed
+9935
-32
No files matched your search
@@ -0,0 +1,24 @@
|
||||
import { installMapillaryRoutes } from './mapillary/routes.js';
|
||||
|
||||
/**
|
||||
* Vite plugin: Mapillary street-level data.
|
||||
*
|
||||
* Serves cached vector tiles (coverage, point features, traffic signs) with
|
||||
* the Mapillary token added server-side, fans a city-sized bbox out over
|
||||
* z14 feature tiles as an NDJSON stream, turns natural-language requests
|
||||
* into query plans with Claude (ANTHROPIC_API_KEY stays on this machine),
|
||||
* and proxies the MIT-licensed Mapillary sprite icons.
|
||||
*/
|
||||
function mapillaryProxy() {
|
||||
return {
|
||||
name: 'mapillary-proxy',
|
||||
configureServer(server) {
|
||||
installMapillaryRoutes(server.middlewares);
|
||||
},
|
||||
configurePreviewServer(server) {
|
||||
installMapillaryRoutes(server.middlewares);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export { mapillaryProxy };
|
||||
Reference in new issue
Block a user