Mobile support

Phoca Maps - displaying maps in Joomla! CMS
Wendigo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2019, 13:38

Mobile support

Post by Wendigo » 23 Jul 2019, 13:45

Hi,
I'm making a website that needs to have support for mobile devices. I've made a map that shows perfectly on desktop but when on my phone the width won't adapt, leaving me with a contact page that looks a bit funky on mobile. Is there a way to make the dimensions of the map dynamic?
Thankfull for answers!
Wendigo

Tags:

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 41483
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mobile support

Post by Jan » 23 Jul 2019, 16:45

Hi, do you display the map with help of component or plugin?

Jan
If you find Phoca extensions useful, please support the project

Wendigo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2019, 13:38

Re: Mobile support

Post by Wendigo » 24 Jul 2019, 08:55

Jan wrote:
23 Jul 2019, 16:45
Hi, do you display the map with help of component or plugin?

Jan

Hi Jan, thanks for your response!

I'm displaying it as a plugin.

Wendigo

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 41483
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mobile support

Post by Jan » 26 Jul 2019, 13:00

Hi, which version do you use? When you skip adding width parameter to map or adding "0", the map should get 100% width

See demo:
https://www.phoca.cz/joomla3demo/phoca-maps-demo

Image

Image

Should work the same way on desktop or mobile view :idea:

Jan
If you find Phoca extensions useful, please support the project

Wendigo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2019, 13:38

Re: Mobile support

Post by Wendigo » 27 Jul 2019, 22:49

Jan the man!

Thanks for the help. You solved my issue!

Wendigo

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 41483
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mobile support

Post by Jan » 29 Jul 2019, 13:52

Great to hear it.
If you find Phoca extensions useful, please support the project

Post Reply