Skip to content

Commit

Permalink
change attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
Brescia Ilaria (Student Com20) committed Nov 28, 2023
1 parent 85e0400 commit 5fee6e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EMobilityMap extends BaseClass {
13
);
L.tileLayer('https://cartodb-basemaps-{s}.global.ssl.fastly.net/rastertiles/voyager/{z}/{x}/{y}{r}.png', {
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, &copy; <a href="https://carto.com/attribution">Carto</a>'
attribution: '&copy; <a href="https://opendatahub.com">OpenDataHub.com</a> | &copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>, &copy; <a href="https://carto.com/attribution">Carto</a>'
}).addTo(this.map);
}

Expand Down Expand Up @@ -133,11 +133,11 @@ class EMobilityMap extends BaseClass {
const condition_realtime = this.filters.realtime ? o.mvalue >= 0 : true;

/* Merge conditions */
return condition_access_type
&& condition_provider
&& Boolean(condition_plug_type)
&& condition_maxPower
&& condition_availability
return condition_access_type
&& condition_provider
&& Boolean(condition_plug_type)
&& condition_maxPower
&& condition_availability
&& condition_realtime;
});

Expand Down

0 comments on commit 5fee6e1

Please sign in to comment.