A comprehensive monorepo for the maptalks 2D/3D WebGL/WebGPU map rendering engine. It provides a full-stack geospatial visualization framework including core map controls, geometry types (Marker, LineString, Polygon), multiple layer types (Tile, Vector, GLTF, 3D Tiles, Video, Particle), advanced shading (PBR, Phong, Cloth, Subsurface), post-processing (bloom, SSR, TAA, fog, weather), spatial analysis (viewshed, cut, flood, heightmap), traffic simulation, and interactive editing tools. The architecture is modular with ~20 interdependent packages under a pnpm workspace, using a custom WebGL abstraction (fusion.gl) and a vector tile pipeline with worker-based processing. It supports both Canvas2D and WebGL renderers, with emerging WebGPU support via WGSL shaders. The codebase is well-structured with reusable patterns (mixin, painter plugin, worker communication, LRU cache, texture pooling) but shows medium technical drift due to experimental WebGPU code, duplicated utility functions across packages, and reliance on legacy tooling (regl, shelf-pack).
This repository is a comprehensive gallery of self-contained demo examples for the VJMap (唯杰地图) SDK, a client-side WebGIS library specialized in rendering CAD drawings (DWG) and custom map formats using WebGL vector tiles. Each example is a standalone HTML page with embedded JavaScript that demonstrates a specific feature: map opening (vector/raster/memory), markers, overlays (circles, polygons, symbols, fill extrusion), animations, drawing tools, 3D integration with Three.js/deck.gl/L7, and interoperation with third-party mapping libraries (Leaflet, OpenLayers, MapTalks, Cesium). All demos connect to a hosted VJMap backend service via a hardcoded access token. The code is heavily duplicated across Chinese and English directories (src/src_en) and follows a repetitive boilerplate pattern. While the repository excels as an educational resource for the SDK, it is not a production application; its structure lacks modularity, contains hardcoded credentials, and relies on deprecated libraries in some examples. The primary value is as a reference for VJMap API usage, not as a reusable codebase.
This repository provides a tool for generating glyph packs (PBF files) from font files for use in vector tile maps, particularly Mapbox GL styles. It processes font directories, optionally combining multiple font files into a single font stack via a `fonts.json` configuration, and generates glyph data for the Unicode range 0-65535 in 256-point chunks. The core logic resides in `generate.js`, which uses the `fontnik` library to read font files and generate glyph outlines, and `@mapbox/glyph-pbf-composite` to combine glyphs from multiple fonts into a single PBF file per range. The output is placed in a `_output` directory with a hierarchical structure matching the font stack and Unicode ranges.