Problem on mobile device

  • Anto9999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #14225 by Anto9999
Problem on mobile device was created by Anto9999
Hello
thanks for yout fantastic work.
I have a problem with the mobile layout. I have set a map with gpx file ( with also elevation) and use the module to show it.
So on desktop works well, also if set in full width. But when i try on mobile not resize the map and the elevation. I have try more with in map but without resolve the probolem
Thanks

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #14227 by Dima
Replied by Dima on topic Problem on mobile device
Hi

Do you mean if you change phone orientation the map and elevation diagram are not responsive?

Explain your problem more detail

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • Anto9999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago - 3 years 2 months ago #14229 by Anto9999
Replied by Anto9999 on topic Problem on mobile device
Thanks for your reply.
I mean that on the mobile device the map not resize. Go out of the screen,
If i set width and Height "0" the map not show anything, If i set 1200px there are problem on the resize ( i use a module)
thanks
Last edit: 3 years 2 months ago by Anto9999.

Please Log in or Create an account to join the conversation.

  • Anto9999
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #14232 by Anto9999
Replied by Anto9999 on topic Problem on mobile device
My error:
I have set 0 and 0 the with and heigh. If i set with 0 and eight 800 (for example) works fine.
Thanks

Please Log in or Create an account to join the conversation.

More
3 years 2 months ago #14235 by Dima
Replied by Dima on topic Problem on mobile device
Hi
You can search my forum about responsive map.
Modern templates have nested divs, and if you set height 0 (it means 100%), but it collapsed by CSS.
You need to set div, where you publish map to be responsive, and has height for empty content (when map is not initialized).
In this case map will appear with height = 0

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds

Donate


Go to top