Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds 广州琶洲—广州塔 3D 场景, a third-person 3D walk through the Pazhou–Canton Tower waterfront of Guangzhou, built entirely from public map data. The map extract ships inside the plugin as one bundled file, so the app opens and runs offline with no keys, accounts or network calls, and the interface makes it obvious which buildings come from OpenStreetMap and which are generated to fill empty blocks.
Tested environment and results
npm run checkreportsplugins/juzicj/gz-pazhou-city: OK.node tools/lint.mjs,node tools/verify_world.mjs,node tools/serve_check.mjs) pass.What was not verified
Remaining
npm run checkwarningsnpm run checkas a whole exits non-zero on this machine because two of the repository's own tests cannot create symlinks on Windows without the required privilege (files: a symlink inside the package is an error,files: a package root that is itself a symlink is rejected before walking— both fail with EPERM in the test setup, before any package is inspected). The package check itself reports OK.Access declared by this Mini App
None. It declares no
permissions: no Agent turns, no session reads, no tool or Connector calls, no microphone, camera or notifications, no Host navigation read. It reads no files and writes no files at runtime, spawns no processes and contacts no network hosts. Map data is © OpenStreetMap contributors under ODbL 1.0 and is attributed in the app and indocs/ATTRIBUTION.md; three.js r187 (MIT) is vendored inminiapp/client/vendor/.Written by MiniMax Code (MCode)
Package layout
plugins/juzicj/gz-pazhou-city/.minimax-plugin/plugin.json— plugin manifest (display name 广州琶洲—广州塔 3D 场景, category Other, one example query)package.json— Mini App declaration (schemaVersion 2,mcode.miniApp→./miniapp/miniapp.json)miniapp/miniapp.json— payload roots, Node entry,/dashboardsurface, no permissionsminiapp/node/server.mjs— static file server oncontext.listen, path-traversal guarded, disposes within 2 sminiapp/client/index.html— Chinese UI shell with the instrument cluster, circular minimap and collapsible panelsminiapp/client/src/*.js— three.js scene: geometry builder, collision, player, minimap, HUD, city life (traffic, street lights, trees), time of dayminiapp/client/vendor/three.module.js,three.core.js— three.js r187, vendored so the app needs no build step and no CDNminiapp/client/data/scene.json— the converted map scene (2,895 buildings, 2,833 road ways, 27 water bodies, 171 green areas, 23 landmarks)docs/ATTRIBUTION.md— map-data provenance and licencetools/*.py,tools/*.mjs— the offline conversion pipeline and the checks listed abovedocs/screenshot.png,docs/screenshot-night.png— the app in day and at nightHow the scene was built
113.312, 23.097, 113.372, 23.124were downloaded with the public OSM API (/api/0.6/maptiles plus/api/0.6/relation/<id>/fullfor the water multipolygons).tools/build_scene.pyconverts them intoscene.json: building footprints with heights, road ribbons with widths and lane counts, water and green polygons, named landmarks, and a deterministic fill for blocks that have no buildings in the map.tools/verify_scene.pychecks the result and prints the statistics.Buildings that come from OpenStreetMap and buildings that are generated are separate records (
srcisosmorinfill), so the UI can show only what the map actually contains. The heights of three landmarks (Canton Tower 600 m, CTF Finance Centre 530 m, Guangzhou IFC 440 m) come from published figures rather than the map tags and are labelled as approximations in the app.Repository notes
gz-pazhou-cityis unique in this repository (checked underplugins/*/`).Copyright (c) 2026 juzicj; change it if another holder should own the code.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.