Custom map

Adding custom map

While developing dispatch, we kept in mind that some servers have map extensions like Roxwood and more, which requires custom map for those changes.

Here's some steps to use a custom map.

Creating a map

Edit one of these maps with your additions Map 1Map 2Map 3

Cut tiles

While using gdal2tiles you can cut image to tiles. If you don't know how to cut the images, contact us and we will cut it for you.

Upload it

Upload your tiles to some hosting, otherwise, for additional one time fee we can host your tiles in our CDN.

Add to config

After you've done steps above, add your new map to the config

configs/map.lua
---@type AvailableMap[]
available = {
    -- ...
    {
        id = 'custom',
        name = 'Custom',
        icon = 'fas fa-map',
        minZoom = 2,
        maxZoom = 6,
        url = 'https://awesome.url/to_your_map/{z}/{x}/{y}.png',
    },
}