Re: Google Maps Beta Test
Posted: Fri Oct 17, 2014 9:24 am
Google Maps should work better now with the new code contributed by wisi 
Click here if you want to track your Euro banknotes
https://forum.eurobilltracker.com/
avij wrote:Google Maps should work better now with the new code contributed by wisi
Although the quote is older than 2 years, it is still a topic to me. I really miss the possibility to see the different locations of entered bills. Does any technical forum member know how to add this option to the Google Dotmap? It used to be my favouriteportaonze wrote:Actually I have also been wondering that for quite a while.mizar wrote:Where did the buttons go to show grid map, locations of cities where notes were entered etc?
Always found the "city locator for entered notes" quite useful.
It allowed me to spot some "not so accurate locations" and ask for them to be corrected.
Any idea if and when we could have these features back?
Thanks.
It is a gradual change of color based on the number of notes in that dot. I think that the scale is logarithmic. So your highest dot is red, but a dot with 1/2 times the number of notes of your red dot is probably only one step lighter than the red dot. The color on the map is personal, based on the maximum number of notes in your own map (if that is 500, this dot is red, and if it is 750.000 the dot is also red). This means that you cannot compare the color of a green dot between your own and somebody elses dot.Jackgaillard wrote:Hello everybody
does anybody knows what makes change color on dotmap between dark blue and red
https://fr.eurobilltracker.com/profile/ ... ser=127262
I noticed that red dot is main dot (12949 notes of 28503) an dark blue is only 1 note
what makes difference between dark and light green
thank you by advance for explanations
Jack
Code: Select all
$colours = array();
for($i=0;$i<50;$i++) {
$red = (int) ((6*(50-$i) + 24*$i)/50);
$green = (int) ((5*(50-$i) + 253*$i)/50);
$blue = (int) ((243*(50-$i) + 53*$i)/50);
$colours[$i]=imagecolorallocate($im,$red,$green,$blue);
}
for($i=0;$i<50;$i++) {
$red = (int) ((24*(50-$i) + 244*$i)/50);
$green = (int) ((253*(50-$i) + 36*$i)/50);
$blue = (int) ((53*(50-$i) + 0*$i)/50);
$colours[$i+50]=imagecolorallocate($im,$red,$green,$blue);
}
$colours[100]=$colours[99];
...
if($count[$x][$y]>0) {
imagefilledrectangle($im,
(int)(getX($minlat+($maxlat-$minlat)/$ycells*($y-0.25),$minlon+($maxlon-$minlon)/$xcells*($x-0.5), $area, $type)),
(int)(getY($minlat+($maxlat-$minlat)/$ycells*($y+0.75),$minlon+($maxlon-$minlon)/$xcells*($x+0.5), $area)),
(int)(getX($minlat+($maxlat-$minlat)/$ycells*($y+0.75),$minlon+($maxlon-$minlon)/$xcells*($x+0.5), $area, $type))-1,
(int)(getY($minlat+($maxlat-$minlat)/$ycells*($y-0.25),$minlon+($maxlon-$minlon)/$xcells*($x-0.5), $area))-1,
$colours[(int)(99*log($count[$x][$y])/log($maxval))]);
$dots++;
}