Page 1 of 1

Another possible improvement for Phoca Maps

Posted: 22 Aug 2025, 13:47
by Dautrich
Hi Jan,

when I design a map for use on a desktop PC, I typically use a landscape format with

Code: Select all

width: 100%;

I choose a zoom factor to get everything necessary into the map.

Image

When this map is displayed on a smartphone, it will not completely fit into the screen; you won't see important things on the right and left sides.

Image

Of course the user can zoom the image, but there might be a better solution: Why not ask for two zoom factors during the map definition, one for desktop, another one for mobile?

Regards,
Rolf

Re: Another possible improvement for Phoca Maps

Posted: 26 Aug 2025, 12:16
by Jan
Hi, hmmm which template do you use, I don't get any such problem when testing, the map is fully displayed on smartphone device size:

Image

Re: Another possible improvement for Phoca Maps

Posted: 15 Sep 2025, 20:02
by Dautrich
Hi Jan,

I don't think that this is related to the template. You can check it out here:

https://www.systemtest.neudorf-mkk.de/b ... -2025.html
https://www.systemtest.neudorf-mkk.de/b ... cassiopeia

The issue is: If your screen width is too low, you lose important information, which is too far away from the centre.

Regards
Rolf

Re: Another possible improvement for Phoca Maps

Posted: 15 Sep 2025, 21:51
by Jan
Hi, maybe I don't fully understand what is the problem exactly, can you give some example in screenshot?

Image

Jan

Re: Another possible improvement for Phoca Maps

Posted: 16 Sep 2025, 10:44
by christine
Hallo Jan,

I get the same view (screenshot) as in the first post.

Kind regards
Christine

Re: Another possible improvement for Phoca Maps

Posted: 16 Sep 2025, 16:39
by Jan
Hi, if the problem should be the position of the popup, unfortunately, Phoca Maps has no option to somehow influence it, this is a part of the map and it is displayed in iframe map, where Phoca Maps has no option to somehow define it :idea:

Jan

Re: Another possible improvement for Phoca Maps

Posted: 06 Nov 2025, 11:43
by Dautrich
Hi Jan,
My idea was to have two distinct zoom factors in the map definition: One for large screens, one for mobile. This would enable the user to set "good" zoom factors for both types of devices.
"Good" in this context means that the relevant parts of the maps will be completely visible on both types of devices. In my example the zoom factor was set to 16, showing the above picture.
For smartphones, a good zoom factor would be 15 (as shown in the picture below) or 14.
Image

Re: Another possible improvement for Phoca Maps

Posted: 06 Nov 2025, 11:49
by Dautrich
<blockquote class="imgur-embed-pub" lang="en" data-id="a/vLbczLK" data-context="false" ><a href="//imgur.com/a/vLbczLK"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

Re: Another possible improvement for Phoca Maps

Posted: 06 Nov 2025, 14:02
by christine
Hi Rolf,
Did you mean this Link (imgur)?
https://imgur.com/a/vLbczLK

Kind regards
Christine