Mapsprint Studio
> Next-Generation Global Vector Map & Print Studio â Design, customize, and generate ultra-high-resolution, art-quality city map posters with real-time WebGL rendering, 70 curated color palettes, mo
About the Project
Next-Generation Global Vector Map & Print Studio â Design, customize, and generate ultra-high-resolution, art-quality city map posters with real-time WebGL rendering, 70 curated color palettes, modern live 2D color picker, 8 designer poster templates, physical print order placement, cross-device real-time cloud orders sync, interactive route drawing, photo markers, security watermarking, full admin portal, and true native 300 DPI (4400Ã4840 px) print exports.
Built with precision by Agnific.
ð Table of Contents
- ⨠Features at a Glance
- ð¼ï¸ Ultra-HD 300 DPI Gallery & Theme Showcase
- ð¨ Studio Capabilities
- 1. Real-Time 60 FPS WebGL Vector Engine
- 2. Ambient Out-of-Focus Background Bleed
- 3. High-Density Vector Linework & Zero Detail Loss
- 4. Modern Live 2D Color Picker
- 5. 2-Row Dark Bento Tab Dock
- 6. 70 Curated Studio Themes (Chromatic Spectrum)
- 7. 8 Designer Poster Templates
- 8. Custom Markers, Photo Badges & Travel Routes
- 9. Physical Print Ordering & WhatsApp Dispatch
- 10. Cross-Device Real-Time Cloud Orders Sync
- 11. Security Copyright Watermark Engine
- 12. Full Admin Dashboard (/admin)
- 13. True Native 300 DPI Vector Print Engine (4400Ã4840 px)
- ð Aspect Ratio & Print Sizing
- ðï¸ Architecture & Technology Stack
- ð Project Structure
- ð Quick Start Guide
- ð Deployment Guide
- ð License & Attribution
⨠Features at a Glance
- ð Universal Global Coverage: Search and frame any city, district, landmark, or coordinates on Earth via OpenStreetMap & Nominatim geocoding.
- â¡ Real-Time 60 FPS WebGL: Smooth pan, zoom, pitch, and rotate with immediate visual feedback and zero raster latency.
- ð¼ï¸ Ambient Background Bleed: Soft out-of-focus live mirror that extends the active city map across the entire studio viewport while keeping the center poster in razor-sharp focus.
- ð¯ Detail Retention Across 0â150 km: Full residential street grids, alleys, canals, and building outlines remain loaded even when zoomed out to broad regional views.
- ð¨ Modern Live 2D Color Picker: Smooth 2D Saturation/Brightness canvas, 360° rainbow hue bar, live screen eyedropper pipette, hex input, and curated luxury swatches with 60 FPS live canvas shader preview.
- ð± 2-Row Dark Bento Dock: Instant 1-click access to all 8 studio control panels with zero horizontal scrollbars.
- ð¨ 70 Curated Color Palettes: Sorted chromatically across the color spectrum (Monochrome blacks, luxury golds, warm terracottas, volcanic crimsons, sunset ambers, neon synthwaves, emerald greens, glacier teals, ocean cobalts, amethyst violets, warm sepia parchments, and gallery whites).
- ðï¸ 8 Designer Poster Templates: Classic Poster, Modern Minimal, Museum Card (Polaroid), Split Top & Bottom, Floating Card Box, Geo Pill Badge, Header Banner, and Circular Portal.
- ð Pins, Photo Badges & Routes: Drop custom vector pins (Classic Pin, Minimal Dot, Star, Heart, Flag, Home), upload custom circular photo markers with custom border colors, or draw interactive travel routes.
- ð¦ Physical Print Ordering: Order physical prints (A5, A4, A3, A2, or Custom Dimensions) with direct 1-click WhatsApp order dispatch to
+92 312 1472153. - âï¸ Cross-Device Cloud Orders Sync: Real-time multi-browser cloud synchronization supporting Google Firebase Realtime Database (100% free) & built-in cloud relay.
- ð¡ï¸ Security Watermarking: 35â45 tiled diagonal Agnific logo watermarks (65% visibility) across public exports; automatically bypassed for authenticated Admins.
- ð Admin Portal (
/admin): Full login dashboard with order tracking, status workflow, project audit logs, JSON inspectors, and 1-click "Load & Print in Studio". - ð¨ï¸ True Native 300 DPI Export (4400Ã4840 px): High-DPI offscreen vector rendering pipeline producing lossless PNG, print-ready PDF, and layered SVG outputs with zero tile clipping.
- ð·ï¸ Agnific Studio Branding: Subtle
"Built by Agnific"watermark on posters and clean glassmorphic footer linking to agnific.com.
ð¨ Studio Capabilities
1. Real-Time 60 FPS WebGL Vector Engine
Powered by MapLibre GL JS and global OpenFreeMap / OpenMapTiles vector pyramids. Renders millions of raw line vertices, building footprints, and water bodies directly on the GPU at 60 frames per second without server round-trips.
2. Ambient Out-of-Focus Background Bleed
The viewport features a live, synchronized canvas mirror that reflects the active map behind the poster frame with an ambient lens blur (blur(16px) brightness(0.62) saturate(1.2)). As you pan or rotate the map, the background moves in real-time, creating a museum-grade depth-of-field experience.
3. High-Density Vector Linework & Zero Detail Loss
Unlike standard vector viewers that strip away minor streets at low zooms, MapsPrint Studio 2.0 features boosted stroke-width interpolation curves and a calibrated logarithmic zoom engine. Whether framing a 1 km neighborhood or a 150 km metropolitan region, all residential streets, alleys, canals, and building outlines stay rendered with crisp clarity.
4. Modern Live 2D Color Picker
Equipped with a custom Dark Bento live color picker:
- 2D Saturation & Brightness Drag Area: Drag to smoothly blend shades in real-time.
- 360° Rainbow Hue Bar: Scrub through the full spectrum.
- Screen Eyedropper API: Pick any exact pixel from your screen with 1 click (
window.EyeDropper). - Direct Hex Input & Luxury Presets: Fast copy/paste and 16 calibrated luxury map tones.
- Integrated across Theme layer overrides, Typography title colors, Marker pins, and Travel routes.
5. 2-Row Dark Bento Tab Dock
The studio dock organizes editing categories into a sleek 4-column $\times$ 2-row Bento grid:
- Row 1:
[Location][Theme][Layout][Text] - Row 2:
[Layers][Markers][Routes][Camera]All 8 panels are immediately accessible with zero horizontal scrolling.
6. 70 Curated Studio Themes (Chromatic Spectrum)
Organized in ascending chromatic order across the entire visible spectrum:
- Monochrome, Titanium & Dark Slate (1â7):
Noir Minimalist,Smoky Onyx & Pearl,Monochrome Graphite,Midnight Titanium,Matte Gunmetal Slate,Architectural Slate,Carbon Fiber Dark - Royal Gold, Bronze & Champagne (8â15):
Obsidian & Gold,Midnight Sapphire Gold,Monaco Supercar Black,Espresso & Champagne,Art Deco Gilded,Versailles 24k Gold,Dubai Skyline Gold,Imperial Dynasty Gold - Warm Terracotta, Earth & Adobe Clay (16â22):
Warm Terracotta,Moroccan Clay & Rust,Sedona Red Rock,Tuscan Burnt Sienna,Andalusian Adobe Clay,Copper Sunset,Cuban Tobacco & Ochre - Red, Crimson, Burgundy & Lava (23â29):
Solar Magma & Lava,Bavarian Dark Cherry,Bordeaux & Rose Gold,Venetian Crimson & Gold,Crimson Velvet,Ruby & Obsidian,Scarlet Cyberpunk - Sunset Amber, Autumn & Spice (30â34):
Autumn Maple & Amber,Marrakech Spice Amber,Copper Canyon Rich,Sahara Twilight,Valencia Tangerine - Synthwave, Neon & Electric Gold (35â38):
Tokyo Cyberpunk Neon,Retro Synthwave 80s,Electric Laser Yellow,Solar Flare Gold - Emerald, Jade, Clover & Pine Green (39â46):
Pakistan Emerald,Irish Clover & Gold,Nordic Moss & Sage,Nordic Pine & Spruce,Matrix Phosphor Green,Amazon Rainforest,Kyoto Bamboo & Jade,Scottish Highlands - Teal, Cyan & Glacier Lagoon (47â52):
Alpine Frost & Slate,Nordic Fjord & Ice,Glacial Ice Frost,Maldives Turquoise,Bermuda Lagoon Teal,Miami Ocean Teal - Navy, Azure, Cobalt & Deep Ocean (53â59):
Santorini Aegean Cobalt,Capri Mediterranean Azure,Cambridge Blue & Slate,Blueprint Drafting,Pacific Midnight Navy,Mariana Trench Abyss,Oxford Royal Navy - Purple, Violet, Amethyst & Plum (60â63):
Kyoto Night Sakura,Burgundy Plum & Violet,Amethyst Geode,Midnight Lavender - Light Sand, Linen, Washi & Vintage (64â68):
Kyoto Washi Paper,Vintage Parchment,Desert Dunes & Sand,Minimalist Sandstone,Venetian Sepia & Umber - Pure White & Gallery Light (69â70):
Gallery Minimal Light,Scandinavian Snow White
7. 8 Designer Poster Templates
- Classic Poster â Symmetrical bottom title, country subtitle, geographic coordinates, and customizable bottom gradient fade.
- Modern Minimal â Floating clean typography with an accent divider line.
- Museum Card (Polaroid) â Solid bottom gallery card with crisp title metadata.
- Split Top & Bottom â Upper title banner with lower coordinates badge.
- Floating Card Box â Elevated frosted glassmorphic card container over the map.
- Geo Pill Badge â Centered pill badge with latitude/longitude.
- Header Banner â Top typography banner with soft upper gradient fade.
- Circular Portal â Vignetted round lens portal with matte border framing.
8. Custom Markers, Photo Badges & Travel Routes
- Vector Pins: Classic Map Pin, Pulsing Ring, Heart, Golden Star, Flag, and Home.
- Custom Photo Badges: Upload personal memories/portraits, automatically cropped into circular badges with custom borders and drop shadows.
- Interactive Routes: Draw multi-point travel tracks with customized line color, stroke width, and dashed line styling.
- All markers and route lines are rendered with razor-sharp vector projection on 300 DPI exports.
9. Physical Print Ordering & WhatsApp Dispatch
Users can place physical print orders directly through the studio:
- Select from A5, A4, A3, A2, or Custom Dimensions.
- Enter Name, Phone / WhatsApp, Email, and Delivery Notes.
- Instant Order ID generation with 1-click WhatsApp order confirmation sent directly to
+92 312 1472153.
10. Cross-Device Real-Time Cloud Sync (Orders & Export Logs)
- Both customer print orders AND generation/export activity logs (PNG, PDF, SVG) automatically synchronize to the cloud in real-time.
- The Admin Dashboard features automated 8-second polling and manual "Sync Cloud" controls.
- Supports Google Firebase Realtime Database (100% free tier) via
VITE_FIREBASE_DB_URLwith 1 GB free storage (~500,000 orders/logs) and zero server cost.
11. Security Copyright Watermark Engine
- When public users export posters, a repeating diagonal grid of 35â45 rotated Agnific logos (
copyright-agnific.png) at 65% visibility protects the artwork. - When logged in as Admin, the watermark is 100% bypassed, producing crystal clean, museum-grade 300 DPI exports.
12. Full Admin Dashboard (/admin)
- Authentication: Configurable in
.env(VITE_ADMIN_USERNAME&VITE_ADMIN_PASSWORD). - Customer Orders Tab: Review customer details, phone numbers, requested sizes, notes, and update statuses (
Pending,Contacted,Completed,Cancelled). - 1-Click "Load & Print in Studio": Instantly restores the customer's exact map coordinates, theme, markers, and layout in 300 DPI ready for printing.
- Project Audit Logs: View snapshots of all generated/imported projects, copy JSON, or download
.mapsprintfiles.
13. True Native 300 DPI Vector Print Engine (4400Ã4840 px)
When exporting, MapsPrint Studio spawns an active GPU offscreen MapLibre vector engine rendered directly at true print resolution:
- Screen (72 DPI):
2000 Ã 2200 px - High (150 DPI):
3000 Ã 3300 px - Ultra Print (300 DPI):
4400 Ã 4840 px(21.3 Megapixels) - Computes exact Mercator scale-adjusted zoom offsets ($Z_{\text{export}} = Z_{\text{preview}} + \log_2(W_{\text{export}} / W_{\text{preview}})$), with verified
isSourceLoaded('openmaptiles')and tile completion polling to guarantee 100% complete tile coverage with zero missing chunks.
ð¼ï¸ Ultra-HD 300 DPI Gallery & Theme Showcase
Sample art posters rendered directly at 300 DPI (4400 Ã 4840 px) with vector roads, water, building blocks, and custom typography:
| Poster Sample | City & Color Scheme | Poster Sample | City & Color Scheme |
| :---: | :--- | :---: | :--- |
|
| Lahore, Pakistanð Agnific Signature Theme
Deep Indigo & Fiery Scarlet |
| Tokyo, JapanTokyo Cyberpunk Neon
Synthwave Violet & Neon Cyan |
|
| London, United KingdomSantorini Cobalt / Blueprint
Aegean Navy & Pure White |
| New York, USANoir Minimalist
OLED Black & Silver Vectors |
|
| Dubai, UAEDubai Skyline Gold
Desert Midnight & Radiant Gold |
| Amsterdam, NetherlandsNordic Fjord & Ice
Glacier Fjord & Ice Cyan |
|
| Barcelona, SpainAndalusian Adobe Clay
Warm Clay & Mediterranean Blue |
| Istanbul, TurkeyAutumn Maple & Amber
Bosphorus Rust & Gold |
|
| Karachi, PakistanArabian Sea Midnight
Coastal Navy & Emerald |
| Islamabad, PakistanNordic Moss & Sage
Margalla Pine & Silver Sage |
|
| Miami, USAMiami Ocean Teal
Pastel Lagoon & Coral |
| Sydney, AustraliaPacific Deep Ocean
Harbour Abyss & Cobalt |
|
| Lahore, PakistanWarm Terracotta
Natural Clay & Ochre | | |
ð Aspect Ratio & Print Sizing
| Preset | Ratio | Common Uses | Standard Resolution (300 DPI) |
|---|---|---|---|
| Poster 40"Ã44" | 10:11 | Large Format Print | 4400 Ã 4840 px |
| ISO A-Series | 1:â2 | A1, A2, A3, A4, A5 Prints | 3422 Ã 4840 px |
| Poster 18"Ã24" | 3:4 | Standard Wall Art | 3630 Ã 4840 px |
| Poster 24"Ã36" | 2:3 | Gallery Art Poster | 3226 Ã 4840 px |
| US Letter | 8.5:11 | Home & Office Print | 3740 Ã 4840 px |
| US Tabloid | 11:17 | Small Poster / Ledger | 3132 Ã 4840 px |
| Square Print | 1:1 | Instagram / Square Frame | 4400 Ã 4400 px |
| Desktop Wallpaper | 16:9 | 4K Screens & Desktops | 4840 Ã 2722 px |
| Story / Reel | 9:16 | Mobile Wallpaper / Social | 2722 Ã 4840 px |
| Ultrawide | 21:9 | Panoramic Monitors | 4840 Ã 2074 px |
| Twitter Header | 3:1 | Social Media Banner | 4840 Ã 1613 px |
| Custom | W:H | Any User Defined Ratio | Dynamic Proportional 300 DPI Scaling |
ðï¸ Architecture & Technology Stack
flowchart TD subgraph UI ["Studio Front-End (React 19 + TailwindCSS)"] DOCK[Studio Dock: 2-Row Bento Grid] COLOR_PICKER[Live 2D Color Picker Engine] VIEWPORT[PosterViewport] OVERLAY[PosterOverlay Layer] FOOTER[Glassmorphic Footer: Agnific Link] MODAL[Export & Order Dialog] ADMIN[Admin Portal: /admin] end subgraph MAP ["WebGL Vector Engine"] ML[MapLibre GL JS] STYLE[styleGenerator: Ultra-Dense Vector Styler] PROVIDER[OpenFreeMap / OpenMapTiles TileJSON] end subgraph CLOUD ["Cross-Device Cloud Sync"] FIREBASE[Firebase Realtime Database / Supabase / KV Relay] end subgraph EXPORT ["Offscreen Print Engine"] OFFSCREEN[renderNativeHighDpiMap: 300 DPI 4400x4840] MARKER_ROUTER[Marker & Route Vector Projector] WATERMARK[35-45 Tiled Logo Watermark: Non-Admin Only] CANVAS_COMPOSITOR[Canvas Compositor] PNG[Lossless PNG Exporter] PDF[Vector PDF Exporter] SVG[Clean Layered SVG Exporter] end DOCK -->|Live Adjustments| COLOR_PICKER COLOR_PICKER -->|Shader Updates| ML DOCK -->|Theme / Layout / Location Updates| VIEWPORT VIEWPORT --> ML STYLE --> ML PROVIDER --> STYLE VIEWPORT --> OVERLAY MODAL -->|Place Order| FIREBASE FIREBASE -->|Auto-Poll & Sync| ADMIN MODAL --> OFFSCREEN OFFSCREEN --> MARKER_ROUTER MARKER_ROUTER --> WATERMARK WATERMARK --> CANVAS_COMPOSITOR CANVAS_COMPOSITOR --> PNG & PDF & SVG
- Core Framework: React 19 + TypeScript + Vite 6
- Styling: TailwindCSS + Lucide React Icons
- State Management: Zustand with persistent storage
- Color Engine: Custom 2D HSV / RGB / HEX live ColorPicker with Eyedropper API
- Geospatial & Vector: MapLibre GL JS, OpenFreeMap, OpenMapTiles
- Cloud Backend: Google Firebase Realtime DB / Supabase REST API
- Export Compositing: Offscreen HTML5 Canvas (4400Ã4840 px), jsPDF, SVG DOM Serializer
ð Project Structure
MapsPrint/ âââ src/ â âââ components/ â â âââ admin/ # Admin Portal & Authentication â â â âââ AdminDashboard.tsx # Customer Orders & Project Audit Table â â â âââ AdminLogin.tsx # Dark Bento Login Screen â â âââ common/ # Reusable UI Primitives â â â âââ ColorPicker.tsx # Modern 2D Live Color Picker â â âââ dock/ # Studio Dock Control Panels â â â âââ StudioDock.tsx # 2-Row Bento Tab Grid â â â âââ ThemePanel.tsx # 70 Curated Themes & Colors â â â âââ LayoutPanel.tsx # 8 Templates & Aspect Ratio Controls â â â âââ TypographyPanel.tsx # Font Family, Sizes & Alignment â â â âââ LayersPanel.tsx # Vector Layer Visibility Toggles â â â âââ MarkersPanel.tsx # Custom Pins & Photo Upload â â â âââ RoutesPanel.tsx # Interactive Path Tracing â â â âââ TransformPanel.tsx # Locks, Pitch, Bearing & Reset â â âââ studio/ # Canvas & Viewport Components â â âââ Header.tsx # Top Bar & Admin Portal Link â â âââ LocationSearch.tsx # Geocoding Search & 0-150km Slider â â âââ MapContainer.tsx # Live WebGL MapLibre Canvas â â âââ PosterViewport.tsx # Full-Bleed 60fps Realtime Ambient Blur â â âââ PosterOverlay.tsx # Live Borders, Fades & Agnific Watermark â â âââ ExportModal.tsx # Dual Mode: Digital Export & Place Order â âââ lib/ â â âââ api/ â â â âââ cloudOrderService.ts # Real-Time Firebase & Supabase Cloud Sync â â âââ export/ # High-Resolution Export Pipelines â â â âââ offscreenRenderer.ts # 300 DPI Native Compositor & Watermarks â â â âââ pngExporter.ts â â â âââ pdfExporter.ts â â â âââ svgExporter.ts â â âââ map/ # Map Styling & Tile Provider Engine â â â âââ styleGenerator.ts # Boosted Vector Line Widths & Shaders â â â âââ tileProviders.ts # OpenFreeMap TileJSON Discoverer â â âââ marker/ â â â âââ pinTemplates.ts # SVG Pin Icon & Marker Definitions â â âââ utils/ â â âââ geoMath.ts # Calibrated Zoom Curves & Proportions â âââ store/ â â âââ usePosterStore.ts # Zustand Global Studio State â â âââ useAdminStore.ts # Admin Authentication & Orders State â â âââ defaultState.ts # 70 Palettes, Presets & Initial State â âââ types/ â â âââ poster.ts # Full TypeScript Studio Interfaces â âââ App.tsx # Root Router, Workspace & Agnific Footer â âââ main.tsx âââ public/ â âââ copyright-agnific.png # Agnific Security Watermark Asset â âââ favicon.svg âââ .env.example # Admin & Cloud Database Configuration Example âââ DEPLOY.md # Complete Production Deployment Guide âââ README.md
ð Quick Start Guide
Prerequisites
- Node.js 18.0.0 or later
- npm 9.0.0 or later
Installation & Run
-
Clone the repository:
git clone https://github.com/RasikhAli/MapsPrint-Studio.git cd MapsPrint-Studio -
Configure environment:
cp .env.example .env -
Install dependencies:
npm install -
Start local development server:
npm run devOpen
http://localhost:3000/in your browser.
Openhttp://localhost:3000/adminfor the Admin Portal. -
Build production bundle:
npm run build
ð Deployment Guide
For complete, step-by-step production deployment instructions, refer to DEPLOY.md:
- Render.com (100% Free static hosting with automated CI/CD and free SSL)
- Hostinger Shared / Cloud Hosting (Upload
dist/directly via hPanel/cPanel File Manager with.htaccessâ zero VPS/KVM required) - Linux VPS / Dedicated Server (Nginx + Let's Encrypt Certbot)
- Docker Container (Multi-stage build with Nginx Alpine)
- Google Firebase Realtime Database (1-minute setup for cross-device orders sync)
- Vercel, Netlify, Cloudflare Pages (1-click free deploys)
ð License & Attribution
- Creator & Maintainer: Agnific
- WhatsApp Support: +92 312 1472153
- Map Data: © OpenStreetMap contributors.
- Vector Tiles: Distributed via OpenFreeMap / OpenMapTiles.
- Geocoding: Powered by Nominatim OSM.
- License: MIT License. Free for personal and commercial map poster creation.
Project Timeline
Technologies
External Links
Related Projects
Projects built with similar technologies.
Online Html Editor And Viewer
The Online HTML Editor and Viewer is a simple web application built with Flask that allows users to write and preview HTML code in real-time.
Qrgen
A premium, feature-rich QR Code Generator engineered with Python (Flask) and a pristine Glassmorphism frontend.
Examina Ai
Using AI, It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.