SanAndreasHeatmap — PHP GD class for beginners -
GiamPy. - 16.05.2014
SanAndreasHeatmap - PHP GD class for beginners.
Thanks to xird (https://github.com/xird/gd-heatmap) for the heatmap features.
Include release under MIT License (open source license) - click here for more information.
First of all, what is a heatmap?
Quote:
A heat map is a graphical representation of data where the individual values contained in a matrix are represented as colors. Fractal maps and tree maps both often use a similar system of color-coding to represent the values taken by a variable in a hierarchy. The term is also used to mean its thematic application as a choropleth map. The term "Heatmap" was originally coined and trademarked by software designer Cormac Kinney in 1991, to describe a 2D display depicting real time financial market information.
|
With SanAndreasHeatmap, you are directly able, through in-game coordinates, to create a heatmap in the map of San Andreas!
The only thing you need to do is collect the coordinates and save them into a database table.
Then you're done, yay!
Bug Reporting
Please use GitHub's issues to report bugs by clicking
here.
Contributions
Please use GitHub's pull requests to give a contribute by clicking
here.
Example
You may find an example of the heatmap
here.
Requirements
The only thing you need to do is to configure the class.
You can click
here to see what you are able to configure.
For any other question, feedback or anything else feel free to answer this thread, and don't forget to contribute on GitHub, if you'd like to!
Cheers.
Re: SanAndreasHeatmap — PHP GD class for beginners -
Kirollos - 16.05.2014
Awesome! I like it!
Re: SanAndreasHeatmap — PHP GD class for beginners -
ikkentim - 17.05.2014
Interesting
Re: SanAndreasHeatmap — PHP GD class for beginners -
R@f - 17.05.2014
Nice work !
Re: SanAndreasHeatmap — PHP GD class for beginners -
Raza2013 - 17.05.2014
Awsome

+rep'ed
Re: SanAndreasHeatmap — PHP GD class for beginners -
Mark_Weston - 21.05.2014
Looks good, but do you mind if I ask you a question?
-- For what instances would this be used for/What can this be used for?
Re: SanAndreasHeatmap — PHP GD class for beginners -
GiamPy. - 24.05.2014
Quote:
Originally Posted by Mark_Weston
Looks good, but do you mind if I ask you a question?
-- For what instances would this be used for/What can this be used for?
|
You can use it for anything you want, your imagination is the limit, but for example you could track the deaths in the map, as someone suggested in IRC weeks ago.
Re: SanAndreasHeatmap — PHP GD class for beginners -
Mark_Weston - 25.05.2014
Quote:
Originally Posted by GiamPy.
You can use it for anything you want, your imagination is the limit, but for example you could track the deaths in the map, as someone suggested in IRC weeks ago.
|
Can this be used as a live player map? Or would I have to code it in?
Re: SanAndreasHeatmap — PHP GD class for beginners -
GiamPy. - 27.05.2014
Quote:
Originally Posted by Mark_Weston
Can this be used as a live player map? Or would I have to code it in?
|
Yes, of course, you could.
You just need to load the coordinates through a MySQL database.