added map tooltip

This commit is contained in:
cubedro
2015-04-17 03:12:15 +03:00
parent c738c3b70a
commit 01da1e5e6a
6 changed files with 55 additions and 20 deletions

View File

@@ -51,6 +51,8 @@ var Node = function Node(data)
this.info = data.info;
if(typeof data.ip !== 'undefined'){
if(data.ip === '::ffff:127.0.0.1')
data.ip = '84.117.82.122';
this.info.ip = data.ip;
this.setGeo(data.ip);
}