Permalink
Browse files

Foo

  • Loading branch information...
1 parent cdebe93 commit 29659652c998849972aa8952d73baa1a598a7a33 @rogopag committed May 2, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 static/js/scripts.js
View
@@ -12,7 +12,7 @@ function main()
map : null,
d : null,
objects : {},
- ZOOM: 12,
+ ZOOM: 11,
clusterMaxZoom:16,
mng: null,
icons: {},
@@ -339,16 +339,16 @@ function main()
},
parseDataToList:function(obj)
{
- //console.log(obj)
+ console.log(obj)
var html = '';
html += '<span class="info-head">';
- if( obj.kind )
+ if( obj.kind && obj.kind != obj.type )
{
html += '<span class="span-kind">'+obj.kind+'</span>';
}
else
{
- html += '<span class="span-kind">Nome</span>';
+ html += '<span class="span-kind">'+self.switch_parameters(obj.type)+'</span>';
}
html += '<span class="span-name">'+obj.name+'</span></span>';

0 comments on commit 2965965

Please sign in to comment.