Article text flow around map

  • Ulrich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago - 6 years 11 months ago #11154 by Ulrich
Article text flow around map was created by Ulrich
The plugin of Google Maps by Reumer currently in use on my trip reports allows flow of text around the maps, same as with pictures.
See this example how text should flow......

How can I get such text flow with Zh Googlemap plugin?

I can see that Zh Googlemap plugin inserts a </p> tag in front of map code.....

Added:
Maybe we need an additional option on the {zhgooglemap:......} statement, similar to images: not set|left|center|right

Regards Ulrich
Last edit: 6 years 11 months ago by Ulrich. Reason: Added suggestion

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

More
6 years 11 months ago #11155 by Dima
Replied by Dima on topic Article text flow around map
Hi.
You can reuse your map by plugin call.
Ie you create map. After that you can create article, enter your text. And enter plugin call
wiki.zhuk.cc/index.php/Zh_GoogleMap_Plugin

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.

  • Ulrich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago - 6 years 11 months ago #11156 by Ulrich
Replied by Ulrich on topic Article text flow around map
Hi Dima,
thank you for looking into my "problem".
Unfortunately I forgot to include a link to my test example with Zh Googlemat plug-in.

So here the links to the two examples:

Plug-in example with Zh GooglemapPlug-in example with Zh Googlemap . Map occupies full width of text column, text is above and below map.

Plug-in example with Google Maps by Reumer Plug-in example with Google Maps by Reumer : Map can be on left of right side of text column, text flows around map.

Here an example from one of my trip reports. With Zh Googlemap it would look very different, the maps would take full horizontal spaceinstead of being integrated in the text....:
Map presention in my trip reports

Hope you can see the difference, and you like the version with text flow.
If this cannot be achieved with current Zh Googlemap functionality: Should I add my requirement to the suggestion box?

Regards Ulrich
Last edit: 6 years 11 months ago by Ulrich.

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

More
6 years 11 months ago #11171 by Dima
Replied by Dima on topic Article text flow around map
Hi Ulrich
You can create article, in article in your place you can create div, apply styles (to have some width and height).
And place into it plugin call. And for map set width and height 0, ie 100%.
Or create some other stricture, for example, divs, which divide your article into 2 part, left part - text, right - map plugin call.
You can do it like div style, like table style.
As for div - it is display:inline style

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.

  • Ulrich
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
6 years 11 months ago #11176 by Ulrich
Replied by Ulrich on topic Article text flow around map
Dima,
thanks you for hints, will study / try DIVs, but cannot do this within next 5 weeks. So will post results after that time.

Regards Ulrich

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

Time to create page: 0.141 seconds

Donate


Go to top