RiceaRaul / gta-v-map-leaflet

The map for gta v, ragemp and fivem made in leaflet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GTA V MAP LEAFLET

GTA V MAP LEAFLET is a MAP based on LEAFLET.

Features

  • Easy to use
  • Custom Icons
  • 3 Map Style(Atlas,Satellite,Grid)

Dependencies

Map Styles

  https://mega.nz/file/UKo0wI4A#hDZV1RE-KU0rF2BePRjaKQfwWVBvWbsBVAFmM7yWvo8

Leaflet

 https://leafletjs.com/

Install

  Extract map styles in source folder

How to use

Create blip The coordinates are inverted X will be Y and Y will be X.

var X  = 0;
var Y = 0;
L.marker([Y,X], {icon: customIcon(1)}).addTo(Icons["Example"]).bindPopup("I am here.");

How use CustomIcon The parameter in the customIcon function is the name of the .png picture in the blips folder

For /blips/1.png we will use customIcon(1)}

Screenshots

Atlas Grid Satellite
"Atlas Screenshot" "Grid Screebshot" "Satellite Screenshot"

Custom blip "Customblip Screnshot"

License

GTA V MAP LEAFLET is licensed under MIT License.

About

The map for gta v, ragemp and fivem made in leaflet

License:MIT License


Languages

Language:JavaScript 67.9%Language:HTML 32.1%