Thomas, -<br><br>thanks for the productivity tips - being a FireBug superuser is surely worth spending some time at. A fantastic tool. Regarding JavaScript, that's one language I really have mixed feelings for. Feels mostly like a pile 'o poo, with some good parts in it (<a href="http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1232740034&sr=8-1" target="_blank">http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1232740034&sr=8-1</a>)<br>
<br>When I know my way better about those good parts, I might just have a go at refactoring that initialize() function...<br><br>Everybody: I've fixed the markers now using exactly the same correction that got the first part working. So sole, it is obviously possible to also call the openInfoWindowHtml(var, var) method on object (GMap2) that wraps the the DOM element (div#map), and not only on the marker. <br>
<br>I also like that one can toggle / untoggle the marker when clicking it - the official Google examples (<a href="http://code.google.com/apis/maps/documentation/examples/icon-custom.html">http://code.google.com/apis/maps/documentation/examples/icon-custom.html</a>) don't do that.<br>
<br>That's it folks. Feel free to copy&paste the code from my application.js if at any odd point in the future you'll need it.<br><br>All the best, Vahagn<br><br><br><div class="gmail_quote">On Fri, Jan 23, 2009 at 5:47 PM, Thomas R. Koll <span dir="ltr"><<a href="mailto:tomk32@gmx.de" target="_blank">tomk32@gmx.de</a>></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;"><br>
Am 23.01.2009 um 17:39 schrieb Vahagn Hayrapetyan:<div><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Oh YEESSSSS. Thomas, you're my man. I owe you beer (lots), anytime, anywhere we meet.<br>
<br>
The moment I read your answer was when I finally learned to use FireBug properly<br>
</blockquote>
<br></div>
Just to let you know the deeper secrets: I've pasted your initialize (give it a better name<br>
and make a class out of it!) into the console and took it apart till the map finally responded.<br>
console.log() ftw<br>
I know why I hate Javascript...<br>
<br>
ciao, tom<div><div></div><div><br>
<br>
--<br>
Thomas R. "TomK32" Koll || <a href="http://tomk32.de" target="_blank">http://tomk32.de</a> || <a href="http://ananasblau.com" target="_blank">http://ananasblau.com</a><br>
just a geek trying to change the world<br>
Skype: TomK32 || Mail: <a href="mailto:tomk32@gmx.de" target="_blank">tomk32@gmx.de</a><br>
<a href="http://flickr.com/people/tomk32" target="_blank">http://flickr.com/people/tomk32</a><br>
<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org" target="_blank">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></blockquote></div><br>