Commit b690e02c authored by Daniel Suarez Souto's avatar Daniel Suarez Souto
Browse files

Minimal changes

parent e9a10706
......@@ -34,15 +34,11 @@
<link rel="import" href="/styles/app-theme.html" type="css">
<template>
<!-- <iron-ajax auto
url="queries.json"
<iron-ajax auto
url="/queries.json"
handle-as="json"
last-response="{{queries}}"></iron-ajax> -->
<!--
<div style="width:10%; padding: 1em; display:inline-block">
<img style="width: 100%;"src="/images/trivalent.jpg">
</div>
-->
last-response="{{queries}}"></iron-ajax>
<div class="container">
<div style="width:100%; padding-bottom: 20px 0; text-align:center; display:inline-block">
<img style="width: 20%; margin:0 auto;"src="/images/trivalent.jpg">
......
......@@ -339,7 +339,7 @@
if (!that.isReady || !that.map) {
return;
}
console.log('LOG happymap-element: selectedChanged');
//console.log('LOG happymap-element: selectedChanged');
that.map.removeLayer(that.markerMapLayer);
that.markerMapLayer = new L.FeatureGroup();
that.selected.forEach(function(entry) {
......@@ -364,7 +364,7 @@
if (!that.isReady || !that.map) {
return;
}
console.log('LOG happymap-element: refreshMapPoints');
//console.log('LOG happymap-element: refreshMapPoints');
if(that.happyMapLayer) {
that.map.removeLayer(that.happyMapLayer);
}
......@@ -400,7 +400,7 @@
var happy_data = [];
var intense_data = [];
var power_data = [];
console.log(that.data)
//console.log(that.data)
that.data.hits.hits.forEach(function(entry) {
entry._source.entities.forEach(function(entity){
if(entity["@type"]=="schema:Place"){
......
......@@ -270,7 +270,7 @@
this.push('filters', { terms: { 'entities.schema:name.keyword': myfilters}})
},
ready: function(){
console.log("people-chart")
//console.log("people-chart")
}
......
......@@ -38,9 +38,9 @@
ready: function(){
},
_routeChanged: function(){
console.log(this.route.path)
//console.log(this.route.path)
var path = this.route.path
console.log(path.indexOf("resources"))
//console.log(path.indexOf("resources"))
if (path.indexOf("resources") > -1 ){
this.uri = this.route.path.split('/')[2]
this.selected = 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment