Hi,

The theme used on http://cafesphilo.alpclic-dev.fr/ (Aurum Drupal theme) needs Jquery version to be set to 1.10.

I can load my GMap generated from a view and a Geolocation field. But clicking on a marker or zooming on the map generates JS errors raised by GMap v3.

How to fix this conflict ?

Many thanks in advance for your help.

Comments

misterpo created an issue. See original summary.

misterpo’s picture

Hi,

I finally sorted it out.

GMap API V3 was called twice.

misterpo’s picture

Status: Active » Closed (fixed)
donbon’s picture

Hi Misterpo. Can you explain how you fixed this? I am also having this issue on both my Aurum themed site and my Porto themed site.

donbon’s picture

OK, I'll share my solution:

For the Porto theme, I had to comment out line 33 in the html.tpl.php, the end result looks like this:
<!-- <script src="//maps.google.com/maps/api/js?sensor=false"></script> -->

For the Aurum theme, I had to comment out line 37 in the template.php, the end result looks like this:
// drupal_add_js('//maps.google.com/maps/api/js?sensor=false', array('external' => TRUE, 'cache' => FALSE));