Responsive

  • avush96
  • avush96's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 days ago #1761 by avush96
Responsive was created 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.

More
11 years 2 days ago #1767 by Dima
Replied by Dima on topic Responsive
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)

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.

  • avush96
  • avush96's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 2 days ago #1770 by avush96
Replied by avush96 on topic Responsive
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.

More
11 years 2 days ago #1771 by Dima
Replied by Dima on topic Responsive
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.

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.

More
11 years 2 days ago #1772 by Dima
Replied by Dima on topic Responsive
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

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.

More
11 years 2 days ago #1773 by Dima
Replied by Dima on topic Responsive
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}

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.077 seconds

Donate


Go to top