diff --git a/lib/aprsme_web/components/info_map_component.ex b/lib/aprsme_web/components/info_map_component.ex index 1ced708..15f9406 100644 --- a/lib/aprsme_web/components/info_map_component.ex +++ b/lib/aprsme_web/components/info_map_component.ex @@ -19,8 +19,8 @@ defmodule AprsmeWeb.Components.InfoMapComponent do ~H"""
<%= if @packet do %> -
+
-
+
@@ -193,20 +193,18 @@ <%= if @packet && @packet.lat && @packet.lon do %> -
-
- <% {symbol_table, symbol_code} = AprsmeWeb.AprsSymbol.extract_from_packet(@packet) %> - <% symbol_html = AprsmeWeb.AprsSymbol.render_marker_html(symbol_table, symbol_code, @callsign, 32) %> - <.info_map - id="station-location-map" - lat={Aprsme.EncodingUtils.to_float(@packet.lat)} - lon={Aprsme.EncodingUtils.to_float(@packet.lon)} - callsign={@callsign} - symbol_html={symbol_html} - height="280px" - zoom={12} - /> -
+
+ <% {symbol_table, symbol_code} = AprsmeWeb.AprsSymbol.extract_from_packet(@packet) %> + <% symbol_html = AprsmeWeb.AprsSymbol.render_marker_html(symbol_table, symbol_code, @callsign, 32) %> + <.info_map + id="station-location-map" + lat={Aprsme.EncodingUtils.to_float(@packet.lat)} + lon={Aprsme.EncodingUtils.to_float(@packet.lon)} + callsign={@callsign} + symbol_html={symbol_html} + height="100%" + zoom={12} + />
<% end %>