<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tnx, that did the trick :-), was wondering how to execute all those
hooks.<br>
<br>
HnLn<br>
<br>
ufuk bayburt wrote:
<blockquote
 cite="mid:888304040910130550m23ce09cl6b852460242f3c28@mail.gmail.com"
 type="cite"><br>
  <br>
  <div class="gmail_quote">On Tue, Oct 13, 2009 at 1:37 PM, Hans
Langouche <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:hans.langouche@gmail.com">hans.langouche@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
there,<br>
    <br>
I'm using the drupal gmap module to display some maps and markers. &nbsp;Now
I want to extend the functionality with some ajax stuff and I'm having
difficulties understanding the javascript Drupal.gmap object.<br>
    <br>
I figured out how to access the google maps object:<br>
var m = Drupal.gmap.getMap('yourmapid');<br>
googleobject = m.map<br>
    <br>
Now when looking at the code, I see there are some interesting marker
functions defined already in marker.js (and gmap_markers.js). &nbsp;My
question is how to access these functions as I always get a not defined
error.<br>
    <br>
m.addmarker(...);<br>
or<br>
m.clearmarkers();<br>
    <br>
throw above error.<br>
    <br>
Tnx,<br>
    <br>
HnLn<br>
  </blockquote>
  </div>
  <br>
  <br>
try map.change('EVENT', -1, data);<br>
e.g. mapchange('addmarker', -1, markerObject);<br>
-1 means execute all addmarker hooks of the map.<br>
</blockquote>
</body>
</html>