Skip to content

TheCrazy8/PharloomUnitedWebMap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pharloom United Web Map

This repository hosts the VitePress site for the Pharloom United community map. The landing page renders the large in-world map with hoverable regions that link to the lore sections further down the page.

Working on the map

  1. Run npm install and npm run dev to start VitePress locally.
  2. Open http://localhost:5173 (default) and scroll to the map.
  3. Use the Upload map image button above the map to preview a new background image. The chosen image is only stored in your browser; to publish it for everyone replace docs/public/Pharloom.png with the desired asset.
  4. Select a region in the Trace region dropdown to enter drawing mode, then click along the map to trace an exact polygon. Use the live counter + undo/clear buttons as needed and press Save polygon once you have at least three points. Your edits persist locally (in localStorage) so you can take your time lining up every boundary.
  5. Expand “Map calibration & data tools” under the map to make precise numerical tweaks, download/import JSON, and store your current setup locally. Each region exposes editable percentage-based coordinates so you can fine-tune alignment while looking at the image.
  6. Click Download JSON from the calibration panel to export your adjustments. Replace the array in docs/.vitepress/theme/data/mapData.js with the exported JSON to commit the new configuration.

The calibration drawer accepts imports as either the plain region array or an object shaped like { "regions": [...] }. This makes it easy to share presets between collaborators.

Deploying

The site is a standard VitePress project:

npm run build
npm run serve # optional preview

Host the generated docs/.vitepress/dist folder with any static host (GitHub Pages, Azure Static Web Apps, etc.).

Reddit & Docs

https://docs.google.com/document/d/1mm7fpw6meSX-DXBTFnRaKl-BnYaiykfWdypiOnRLnkY/edit?usp=sharing

https://www.reddit.com/r/PharloomMeta/s/dW97HRDkJ0

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •