When engineering urban operations dashboards, utility infrastructure portals, or real-estate analytics in Vietnam, product teams run into two bottlenecks at once: flat 2D raster maps fail to convey building density and elevation context, and address search breaks whenever legacy administrative unit names collide with post-merger boundaries.
This guide pairs MapVina Vector Tiles v2 (WebGL fill-extrusion 3D buildings driven by render_height) with MapVina Dual-Boundary Search API v2 (new_admin=true&include_old_admin=true) in a single zero-build HTML file.
Enterprise GIS and municipal operations platforms require more than static pins on a flat canvas. Two capabilities determine whether a map interface holds up in production:
Instead of downloading heavy static PNG tiles on every pan and zoom, Vector Tiles stream compact geometry to the browser GPU. Using the render_height attribute in the "building" layer lets you color-code and extrude structures for urban planning, telecom line-of-sight, or emergency response [2].
Following Vietnam's July 1, 2025 administrative reform, legacy CRM/ERP records and end-users still query former district and ward names, while updated systems store post-merger units [1]. Returning both formats together prevents broken lookups and manual reconciliation.
Using MapLibre GL JS, you can attach a fill-extrusion layer directly to the "base" source and "building" source-layer included in MapVina's streets.json style [2]:
Engineering Note: Passing labelLayerId inserts 3d-buildings immediately before the first text symbol layer so street names and POI labels remain legible above tall towers.
| Component | Endpoint / Layer | Key Parameters | Role in Architecture |
|---|---|---|---|
| Vector Base Style v2 | /styles/v2/streets.json | key=YOUR_API_KEY | Provides the "base" vector source and street label hierarchy [2]. |
| 3D Building Extrusion | source: "base", source-layer: "building" | render_height, render_min_height | Extrudes and color-ramps 3D buildings from zoom 14+. |
| Dual-Boundary Autocomplete | /api/v2/place/autocomplete/json | new_admin=true&include_old_admin=true | Returns both description (new) and old_description (legacy) [3]. |
| Dual-Boundary Place Details | /api/v2/place/details/json | place_id, new_admin=true&include_old_admin=true | Returns rooftop coordinates plus formatted_address and old_formatted_address. |
Configure MapLibre GL JS with pitch: 58, bearing: -25, and antialias: true. If your codebase references window.mapvinagl, alias window.mapvinagl = window.mapvinagl || window.maplibregl; to keep your initialization portable.
Debounce user keystrokes (250–350ms) and call Autocomplete API v2 with new_admin=true&include_old_admin=true [3]. Render item.description as the primary label and item.old_description underneath so operators can verify both new and legacy ward/district names before selecting.
When parsing address_components from Place Details, fall back gracefully for two-tier urban municipalities (where an intermediate district level is absent) by prioritizing administrative_area_level_3 || administrative_area_level_2 before flying the camera with map.flyTo({ center: [lng, lat], zoom: 16.5 }).
You can test the full 3D urban view and dual-boundary search immediately in Chrome, Edge, or Safari without setting up Node.js or a backend server. The standalone demo-en.html uses public_key for evaluation [1]; for production traffic, generate a dedicated key at account.mapvina.com and lock it with Domain Whitelisting.
According to published pricing on mapvina.com [1], MapVina provides transparent tiers for prototyping and production workloads:
LoadTiles / MapView requests are 0 VND; above 200,000, pricing is 1,000 VND per 1,000 requests. Search / Autocomplete / Geocoding is 12,000 VND per 1,000 requests (under 200,000) and 11,000 VND per 1,000 requests beyond 200,000 [1], backed by domestic Vietnam servers and direct engineering support via [email protected].Register a free account to get your API key and test MapVina Vector Tiles v2 and Dual-Boundary Search directly.
Moving this industry forward requires not only skill, talent and expertise, but also imagination. All are welcome.