Map not displaying in articles with page breaks

  • jlearned
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 10 months ago #775 by jlearned
I have over 50 maps currently displayed through out my site and they work perfectly.

I made a new article that has several page breaks in it. I want to be able to display a different map on each page. I have created the map and included the {zhgooglemap:54} tag in the article but all that show on the page is a blank section of the page.

www.northwestpaddling.net/index.php/padd...012?showall=&start=1

I also created a fresh page with no page breaks and the map {zhgooglemap:54} displays just fine on that page.

www.northwestpaddling.net/index.php/paddle-trips/95-test

Is this a bug? Is there a work around?

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

More
11 years 10 months ago #776 by Dima
Hi

I go to your first link, and maps is displayed by lightbox call.

As for test page (the second link), it is very interesting "bug", I don't know how you call plugin, but there is only initialize code and there is no code for map. Can you explain what code you enter :)

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 10 months ago #777 by Dima
And as for pagebreaks and empty maps.
If pagebreaks add to page code "window.onload" function call, then map will be empty, because I use this call too to initialize 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.

Time to create page: 0.082 seconds

Donate


Go to top