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 »

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: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mobile support

Post by Jan »

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 »

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: 48416
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Mobile support

Post by Jan »

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 »

Jan the man!

Thanks for the help. You solved my issue!

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

Re: Mobile support

Post by Jan »

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