diff --git a/Server/app/svelte/public/js/groups.js b/Server/app/svelte/public/js/groups.js index cda2eb5..2c385af 100644 --- a/Server/app/svelte/public/js/groups.js +++ b/Server/app/svelte/public/js/groups.js @@ -105,7 +105,7 @@ export function addMarkersGroups(map,content) { for (let gs of Object.values(groupsByCountry)) { if (gs.length==1) { let g = {...gs[0]} - g.location[0][1] = "" + g.location[0] = [g.location[0][0]] addMarkersToLayer(g,groupsMarkersLayerOut,content) } else { @@ -128,7 +128,6 @@ export function addMarkersGroups(map,content) { members: members, contact: contact } - addMarkersToLayer(gNew,groupsMarkersLayerOut,content) } } diff --git a/Server/app/svelte/src/groups-component.svelte b/Server/app/svelte/src/groups-component.svelte index aef5312..b0de63b 100644 --- a/Server/app/svelte/src/groups-component.svelte +++ b/Server/app/svelte/src/groups-component.svelte @@ -102,7 +102,7 @@ #map { --height: 30rem; --width: 100%; - --margin-bottom: 3rem; + --margin-bottom: 0.5rem; } #text-container { diff --git a/Server/public/js/components/groups-component.js b/Server/public/js/components/groups-component.js index 4a4c60a..64ea256 100644 --- a/Server/public/js/components/groups-component.js +++ b/Server/public/js/components/groups-component.js @@ -1 +1 @@ -import{S as t,i as o,a as n,b as e,s as r,e as a,n as i,d as m,c as s,o as c,f as l,t as p,g,h as u,j as d,k as h,l as f,m as b,p as j}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{addMarkersGroups as v,groupsByCountry as w}from"../../../../../../../../../js/groups.js";import{loadLocaleContent as y}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function k(t,o,n){const e=t.slice();return e[7]=o[n][0],e[8]=o[n][1],e}function z(t,o,n){const e=t.slice();return e[11]=o[n],e}function D(t){let o,n,r,a,i,s,c,x,v,y,z,D,E,O,R,T,A,C,H,L,M=t[1].groups+"",S=t[1].p1+"",_=t[1].subheading1+"",q=t[1]["map-prompt"]+"",B=Object.entries(w),F=[];for(let o=0;on(0,e=t)));let i=x({});function m(t,o){let n=t([22,0],2);v(n,o)}s(t,i,(t=>n(1,r=t))),y(i,"groups-component",a),y(i,"countries",a),c((()=>{}));return[e,r,a,i,m,t=>m(t,r),t=>r[t]]}class A extends t{constructor(t){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},T,R,r,{},null),t&&t.target&&e(t.target,this,t.anchor)}}customElements.define("groups-component",A);export{A as default}; +import{S as t,i as o,a as n,b as e,s as r,e as a,n as i,d as m,c as s,o as c,f as l,t as p,g,h as u,j as d,k as h,l as f,m as b,p as j}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{addMarkersGroups as v,groupsByCountry as w}from"../../../../../../../../../js/groups.js";import{loadLocaleContent as y}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function k(t,o,n){const e=t.slice();return e[7]=o[n][0],e[8]=o[n][1],e}function z(t,o,n){const e=t.slice();return e[11]=o[n],e}function D(t){let o,n,r,a,i,s,c,x,v,y,z,D,E,O,R,T,A,C,H,L,M=t[1].groups+"",S=t[1].p1+"",_=t[1].subheading1+"",q=t[1]["map-prompt"]+"",B=Object.entries(w),F=[];for(let o=0;on(0,e=t)));let i=x({});function m(t,o){let n=t([22,0],2);v(n,o)}s(t,i,(t=>n(1,r=t))),y(i,"groups-component",a),y(i,"countries",a),c((()=>{}));return[e,r,a,i,m,t=>m(t,r),t=>r[t]]}class A extends t{constructor(t){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},T,R,r,{},null),t&&t.target&&e(t.target,this,t.anchor)}}customElements.define("groups-component",A);export{A as default}; diff --git a/Server/public/js/groups.js b/Server/public/js/groups.js index cda2eb5..2c385af 100644 --- a/Server/public/js/groups.js +++ b/Server/public/js/groups.js @@ -105,7 +105,7 @@ export function addMarkersGroups(map,content) { for (let gs of Object.values(groupsByCountry)) { if (gs.length==1) { let g = {...gs[0]} - g.location[0][1] = "" + g.location[0] = [g.location[0][0]] addMarkersToLayer(g,groupsMarkersLayerOut,content) } else { @@ -128,7 +128,6 @@ export function addMarkersGroups(map,content) { members: members, contact: contact } - addMarkersToLayer(gNew,groupsMarkersLayerOut,content) } }