Skip to content

CivMap/civ3-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tiles and metadata for CivMap

Tiles are stored in the format tiles/<world name>/z<zoom>/<x>,<z>.png where x and z are the coordinates of that region, and zoom is 0 for one pixel per block and decreases by 1 every time the viewport width is doubled.

Files in meta/:

Coordinates are in z,x order, because Leaflet uses the lat,long standard. Bounds are a two-element array of two opposite corner points, usually [[north, west], [south, east]].

  • maps.json: map overlay images, src is optional and unused
  • portals.json: portal positions and sizes
  • shard-ids.json: convert (short) shard name to world id
  • tiles.json: which shards to show and which tiles can be loaded
  • world-borders.json: radii of the circular world borders

Some are not in use yet but all will be in the future.

Thank you @Waffle-Stomper for providing the world borders and portal coordinates in a programmer-friendly form!

Map data contributors

A big Thank You to everyone who sent me their VoxelMap cache to fill the empty spots on the maps: ASomb, BritishBean, CalgarPascal, ChezireNeko, gantAR1, JhillOne, jQjx, Kwikxilver, MattThePapa, raceman95, RibaT111, RonnySpears, Searedoriginal, v3n0m95, VIDE0HEAD, walkersgaming, wuphonsreach

Releases

No releases published

Packages

No packages published