Multiple maps in same view

  • Sigmund
  • Sigmund's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 years 6 months ago #6874 by Sigmund
Sigmund created the topic: Multiple maps in same view
In the demo-section you are displaying multiple maps in the same page. When i try to call more than one map in an article the site wont display at all. I am trying to call the plugin using {zhgooglemap:MMM;;;;;}, and it works perfectly when just adding one map, but if i try to add a second one the page goes blank. When debugging i get the following error:

Fatal Error: Cannot redeclare get_UpdateContentString() in xxx/components/com_zhgooglemap/view/zhgooglemap/tmpl/display_map_data.php on line 567

Any ideas what causes this or other ways to display several maps on the same page?

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

More
2 years 5 months ago #6880 by Dima
Dima replied the topic: Multiple maps in same view
Hi

I know about that problem. You enable placemark insert (update...) from frontend. Just disable ability to create user's placemarks on this map.

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Zh GoogleMap: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Zh YandexMap: forum.zhuk.cc/index.php/forum/ym-user-s-sites

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

  • Sigmund
  • Sigmund's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
More
2 years 5 months ago #6882 by Sigmund
Sigmund replied the topic: Multiple maps in same view
Ok thanks. Can confirm that it works when disabeling frontend insert of placemarks.

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

Time to create page: 0.056 seconds

Donate


Go to top