geolocation tweak
This commit is contained in:
parent
13ac1731fd
commit
1a52bf4baf
1 changed files with 5 additions and 2 deletions
|
|
@ -109,7 +109,10 @@ defmodule AprsmeWeb.MapLive.Index do
|
||||||
|
|
||||||
_ ->
|
_ ->
|
||||||
# No geolocation available, use URL params or defaults
|
# No geolocation available, use URL params or defaults
|
||||||
Logger.info("MapLive: No IP geolocation found, using URL/default center: #{inspect(url_center)}, zoom: #{url_zoom}")
|
Logger.info(
|
||||||
|
"MapLive: No IP geolocation found, using URL/default center: #{inspect(url_center)}, zoom: #{url_zoom}"
|
||||||
|
)
|
||||||
|
|
||||||
{url_center, url_zoom}
|
{url_center, url_zoom}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue