Multiple maps in same view

  • Sigmund
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 8 months ago #6874 by Sigmund
Multiple maps in same view was created by Sigmund
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
8 years 8 months ago #6880 by Dima
Replied by Dima on 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 , help with translation ;)

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

  • Sigmund
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
8 years 8 months ago #6882 by Sigmund
Replied by Sigmund on 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.150 seconds

Donate


Go to top