cms/app-client/app/templates/components/notice-location-component.hbs
changeset 447 38d5789e30d0
child 492 acecbffac2c4
equal deleted inserted replaced
446:2a93eb9f38f5 447:38d5789e30d0
       
     1 <div class="notice-location-meta">
       
     2 {{#if geoInfo.ref-locs }}
       
     3 <ul>
       
     4   {{#if geonamesLink }}
       
     5   <li>{{doc-location url=geonamesLink }}</li>
       
     6   {{/if}}
       
     7   {{#each otherRefLinks as |link| }}
       
     8   <li><a href={{link}} target="_blank" class="notice-location-ext-link">{{link}}</a></li>
       
     9   {{/each}}
       
    10 </ul>
       
    11 {{/if}}
       
    12 {{#if geoInfo.notes }}
       
    13 <ul>
       
    14   {{#each geoInfo.notes as |note| }}
       
    15   <li>{{note.value}}</li>
       
    16   {{/each}}
       
    17 </ul>
       
    18 {{/if}}
       
    19 </div>
       
    20 {{#if hasCoordinates }}
       
    21 <div class="notice-location-map">
       
    22   <div class="notice-location-map-coordinates">lat.: {{geoInfo.latitude}}, long.: {{geoInfo.longitude}}</div>
       
    23   {{#leaflet-map lat=geoInfo.latitude lng=geoInfo.longitude zoom=zoom scrollWheelZoom=false }}
       
    24     {{tile-layer url=tilesUrl}}
       
    25     {{marker-layer location=location}}
       
    26   {{/leaflet-map}}
       
    27   <div class="notice-location-map-mention">Fond de carte <a href="https://www.openstreetmap.org/?mlat={{geoInfo.latitude}}&mlon={{geoInfo.longitude}}#map=15/{{geoInfo.latitude}}/{{geoInfo.longitude}}" target="_blank">OpenStreetMap</a>.</div>
       
    28 </div>
       
    29 {{/if}}