fixed bugs : Google Maps to OSM
This commit is contained in:
parent
cbd50d9310
commit
0dada8f805
3 changed files with 11 additions and 9 deletions
|
@ -31,6 +31,13 @@ contact_links:
|
|||
description: Phone
|
||||
action: Call us
|
||||
---
|
||||
|
||||
<% content_for :head do %>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script>
|
||||
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script>
|
||||
<% end %>
|
||||
|
||||
<%= render '/partials/_about_sub_navbar.*', selected: 'contact' %>
|
||||
<h1 class='title is-1 has-text-centered'>Contact us</h1>
|
||||
<h2 class='subtitle is-4 has-text-centered has-text-weight-light'>bleep bloop</h1>
|
||||
|
@ -122,5 +129,5 @@ contact_links:
|
|||
|
||||
<!-- Embedded Google Maps -->
|
||||
<div class="map-wrapper box">
|
||||
<%= render '/partials/_map.erb', location: item[:locationlink] %>
|
||||
<%= render '/partials/_map.erb', location: "Zeus WPI" %>
|
||||
</div>
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
<meta name="twitter:data2" value="<%= item[:location] %>" />
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script>
|
||||
|
||||
<% end %>
|
||||
|
||||
<% if item[:banner] %>
|
||||
|
|
|
@ -1,11 +1,3 @@
|
|||
<% content_for :head do %>
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css" />
|
||||
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script>
|
||||
|
||||
<% end %>
|
||||
|
||||
|
||||
<!-- MAPS -->
|
||||
<div class="map-wrapper box">
|
||||
<div id="map-error" class="is-invisible" style="height:100%;width:100%;position:absolute;left:0;top:0;background-color:#00000066;z-index:1000;color:white;font-size:30px;display:flex;justify-content:center;align-items:center;padding:50px;">
|
||||
|
|
Loading…
Reference in a new issue