[jQuery] Re: jMaps and other G* functions
I'm aware that it binds opening to the click function but I want to open without click. On Jul 7, 6:19 pm, Colin Guthrie [EMAIL PROTECTED] wrote: noon wrote: All jMaps functions never seen to return a handler that I can use, but only fire the callback if provided. I used jMaps to add a marker and centered the map. On this newly created marker, how can I get to the other G* methods such as openInfoWindow? When adding a marker you can pass the option pointHTML which will automatically assign a openInfoWindow to the click event of your marker. I've said to Tane (the author) I will help him come up with some more features and better docs on this plugin in the coming weeks/months :) Col
[jQuery] Re: jMaps and other G* functions
noon wrote: I'm aware that it binds opening to the click function but I want to open without click. I think you should modify the jmaps' addMarker function to pass the marker to the callback. It's probably meant to do that anyway :) You can then just do something like: function(marker) { GEvent.trigger(marker, click); } as your callback. Col
[jQuery] Re: jMaps and other G* functions
noon wrote: All jMaps functions never seen to return a handler that I can use, but only fire the callback if provided. I used jMaps to add a marker and centered the map. On this newly created marker, how can I get to the other G* methods such as openInfoWindow? When adding a marker you can pass the option pointHTML which will automatically assign a openInfoWindow to the click event of your marker. I've said to Tane (the author) I will help him come up with some more features and better docs on this plugin in the coming weeks/months :) Col