-
Zh GoogleMap
-
Component
-
Responsive
Responsive
-
avush96
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
-
11 years 1 week ago #1761
by avush96
Hi,
did not find anything about responsive ability of the map.
so far I used the plugin in K2 extra fields, how ever the map is NOT responsive.
any idea or help?
thanks
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 1 week ago #1767
by Dima
Hi.
If you mean "responsive" - flexible width - than set width to 0, and in this case I set 100% width (I noticed about that in my docs)
Please Log in or Create an account to join the conversation.
-
avush96
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 8
-
Thank you received: 0
-
-
-
11 years 1 week ago #1770
by avush96
Hi,
1.I set it to width 0 and height 0 and see nothing! no map!
2.the plugin is set to 300px x 200px and I see it in K2 extra fields. but not in contact form: other Information box, I see the code itself : {zhgooglemap:1;5;ROADMAP;250px;200px}
regards, Avi
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 1 week ago #1771
by Dima
Read my docs.
Don't set height = 0, because in this case I set 100%.
BUT
You template have nested divs, and for map 100% you have to set 100% for each this div.
Just set only width. I posted you ONLY about width, and thought, that you read my docs.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 1 week ago #1772
by Dima
As for plugin call - don't set defenite width and height (if you don't want to override it).
Ie. if you set for map
W=0, H=240
And call plugin with no overridden W and H, you'll get as you set.
If you call plugin and set only height value to 110, you'll get map with height of 110px
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
11 years 1 week ago #1773
by Dima
And you HAVE TO not enter px into plugin call
{zhgooglemap:1;5;ROADMAP;250px;200px}
You can call, for example
{zhgooglemap:1;5;ROADMAP;;200}
or the same, but more readable
{zhgooglemap:1;5;ROADMAP;do not change;200}
Please Log in or Create an account to join the conversation.
-
Zh GoogleMap
-
Component
-
Responsive
Time to create page: 0.092 seconds