Using of the tag in article

More
7 years 10 months ago #10965 by Dima
Replied by Dima on topic Using of the tag in article
As for nested divs
If you can't see map, then check your template divs. You can open page source and check template divs from top level to div where map is.
I mean, if you have in your template
Code:
<div id="x1"> <div id="x2"> <div id="mapDiv"> ... </div> </div> </div>


You have to set for x1 and x2 height=100%, ie for each nested divs you have to set it, in other case it collapsed and you don't get the map.

You can try to apply for your page with map my template for full screen map (it is installed when you install my packaged extension).

Most of templates do not process map div with 100% height, because common case - your divs containts text data, and they collapsed to it's size. As for map - initially it is empty (while map is not loaded), and its collapsed at all. And after map is loaded, the dvis doesn't change it's size.

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: Donfranco77

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

  • Donfranco77
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #10966 by Donfranco77
Replied by Donfranco77 on topic Using of the tag in article
Don't know what is wrong...even with another template or selecting zhgooglemap fullsize template, the problem is still there...on mobile the map is brutally cutted.. :(
Attachments:

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

More
7 years 10 months ago #10967 by Dima
Replied by Dima on topic Using of the tag in article
I don't think so.
Here my demo page
joomla.zhuk.cc/index.php/zhgooglemap-mai...-feature-full-screen

In your case - try to change menu item - not call single article with plugin call. Call menu item type Map

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.

  • Donfranco77
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 10 months ago #10968 by Donfranco77
Replied by Donfranco77 on topic Using of the tag in article
Here it is...in your demo page the map is centered (on mobile) but cutted on the left and right side...same problem.

I'll try adding the map to menu item...thank you.

Regards, Franco
Attachments:

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

More
7 years 10 months ago - 7 years 10 months ago #10969 by Dima
Replied by Dima on topic Using of the tag in article
Sorry, but I didn't understand you.
It is not cutted. It is centered, but it has less width due to your mobile screen size. It doesn't change zoom to show the same area for different screen resolution.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 7 years 10 months ago by Dima.

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

  • Donfranco77
  • Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 9 months ago #10970 by Donfranco77
Replied by Donfranco77 on topic Using of the tag in article
If you go now in the page www.bbguerrazzipisa.it/dove-siamo.html you can see another map I put in. It is resized on mobile and it appears in the center...

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

Time to create page: 0.173 seconds
Powered by Kunena Forum