summaryrefslogtreecommitdiffstats
path: root/retiolum/scripts/adv_graphgen
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-06-25 11:18:03 +0200
committermakefu <root@pigstarter.de>2013-06-25 11:18:03 +0200
commit9388056ecdde42c5c643b86bf2f1cdfad9f28c3b (patch)
tree1c9154266fdf5a0c25de89f1d9f9020916a950a9 /retiolum/scripts/adv_graphgen
parentc82ed681c963f4b3ae5cf1218c58b93413695108 (diff)
update map to handle all the shit correctly
Diffstat (limited to 'retiolum/scripts/adv_graphgen')
-rw-r--r--retiolum/scripts/adv_graphgen/map.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/retiolum/scripts/adv_graphgen/map.html b/retiolum/scripts/adv_graphgen/map.html
index f66832d1..ef8a0565 100644
--- a/retiolum/scripts/adv_graphgen/map.html
+++ b/retiolum/scripts/adv_graphgen/map.html
@@ -47,11 +47,9 @@
$.getJSON("marker.json",function (data){
$.each(data,function (k,v) {
- jitter1=0.005 - Math.random()*0.01
- jitter2=0.005 - Math.random()*0.01
// add initial marker
- var pt=new google.maps.LatLng(jitter1+v["latitude"],jitter2+v["longitude"])
+ var pt=new google.maps.LatLng(v["latitude"],v["longitude"])
var marker= new google.maps.Marker({
id: k,map:map,title: k,position:pt,content:k})