Active
Project:
GMap Module
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2010 at 23:37 UTC
Updated:
31 Jul 2015 at 00:09 UTC
Jump to comment: Most recent
Comments
Comment #1
jessehsAnyone figure this one out? I'm having the same issue, except I'm using a .hover() function. It doesn't work when the jquery is put in the (document).ready(function). I'm using a .js file loaded using drupal_add_js('path','theme').
Comment #2
maedi commentedSubscribing
Comment #3
tolstoydotcomI gave up looking for whether there was a right way to do this and made this change to marker.js (in D7) after the
jQuery.getcall:That assumes that you're loading a node, that the id is like "node-5", and that marker.rmt (set through Views) is the nid.
(I was going to create my own version of marker.js, but Drupal.gmap lacks a removeHandler function to go with the addHandler function, so using my own version resulted in two AJAX calls).