Skip to content
 
 

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image from Gyazo Image from Gyazo

config

Edit config.js

blips = static point
type = type of blip

if you add a new type with new image make sure you have added in packages.json and in web/img folder or map not load because wait all images load

create dynamic blip

we have 2 export function for create update or remove blip

createBlip(uniqIdentifier :string,type :string,pos :tab) -- for create or update blip 
removeBlip(id : string) for remove spécific blip with identifier

customisation of minimap

exemple of config for gta5 style mini map

Image from Gyazo

in config.js
miniMapClass = "mini-gta-style"; //css style
minimapWidth = 300; //width
minimapHeight = 200; //height
playerScreenDividende = 1.3; //position camera of minimap (center is 2)
baseScale = 0.8; //zoom of minimap default = 1,
in style.css (never change width or height in css)
.mini-gta-style{
    box-shadow:0 0 1em black;
    position:absolute;
    bottom:0.5em;
    left:0.5em;
    border-radius:10px;
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages