mapPictureUrl beta
Function of @v12-engine/client/common
ts
export declare function mapPictureUrl(map: GameMap, registry: Registry, view: Pick<GameView, 'ground'>, size?: number, more?: Omit<PictureOptions, 'tiles' | 'groundColors' | 'scale'>, key?: string): string;A picture of a map seen from above (mapPicture, with the game's tiles and ground colours), at most size across, as an address for the page: what the editor's lists of maps, its generator's preview and the start screen's random map show. more draws more over the ground (its scenery as dots: doodads). With a key (what the map is known by and when it changed: file:fort:1728000000), it is kept, and asked again it is not drawn again