Docs
Map Panel
Map Panel
The Map Panel is a fully-featured, customizable city map that enables you to add personalized blips for events or unique locations, making it easy to showcase key spots to all players.
Configuration
The Map Panel can be configured in two ways:
- Using a Live Google Sheet (provided in the package)
- Using a local JSON file
Using a Google Sheet
The configuration file is located at g-tablet/core/configs/appMap.json
.
appMap.json
{
"useGoogleSheets": true,
"mapGlobal": "Google_Sheet_URL",
"blipLayers": [
{
"name": "Available",
"type": "availability",
"value": "🟢"
},
{
"name": "Unavailable",
"type": "availability",
"value": "🔴"
},
{
"name": "Groups",
"type": "type",
"value": "🏴☠️ Groups"
},
{
"name": "Public Services",
"type": "type",
"value": "🏛 Public Services"
},
// ...
]
}
Using a local JSON file
If you choose to use local JSON instead of Google Sheets, you can use the the configuration file located at g-tablet/core/data/map.json
.
map.json
[
{
"id": "1",
"name": "LS GOV",
"availability": "🟢",
"type": "🏴☠️ Groups",
"description": "Los Santos Government",
"location_y": "24",
"location_x": "-112",
"image": "./city/lsgov.webp"
},
{
"id": "2",
"name": "LSPD",
"availability": "🟢",
"type": "🏛 Public Services",
"description": "Los Santos Police Department - Mission Row",
"location_y": "18",
"location_x": "-100",
"image": "./city/lspd.webp"
},
//...
]