GithubHelp home page GithubHelp logo

ricearaul / gta-v-map-leaflet Goto Github PK

View Code? Open in Web Editor NEW
51.0 1.0 12.0 8 KB

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

License: MIT License

JavaScript 67.94% HTML 32.06%
ragemp gta gtav gtav-map ragemp-map fivem fivem-map leaflet

gta-v-map-leaflet's Introduction

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.

gta-v-map-leaflet's People

Contributors

ricearaul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gta-v-map-leaflet's Issues

Don't work

Hey mate, I downloaded it but it shows only blank page

Can't find jpg file

I have a problem that if I move outside the map I get errors that it no longer finds files for these coordinates because they do not exist. I wanted to add maxbound but it doesn't work do you have any good solution for this problem?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.