[jQuery] Re: jmaps - callback function problem

2008-01-18 Thread Duncan
tiz a thing of beauty. Thanks a lot Hamish, much appreciated. I have one more nice-to-have. I have added code to make a draggable marker, and what I really want is to have the marker return its lat and lng on drop. I can see in the gmaps docs that addListener is the way to go, but I dont know ho

[jQuery] Re: jmaps - callback function problem

2008-01-17 Thread Hamish Campbell
Hmm, well this definately works: customGeoCode = function(address) { if (typeof $.jmap.GClientGeocoder == 'undefined') { var geocoder = new GClientGeocoder; } else { var geocoder = $.jmap.GClientGeocoder; } geocoder.getLatLng('1 qu

[jQuery] Re: jmaps - callback function problem

2008-01-17 Thread Duncan
Thanks Hamish I am also using jMaps2 and saw that adding addMarker:false should return the point object, then I would have point.y and point.x this doesn't appear to be happening though. I also spotted the references to what you pointed out in the jmaps.js file, but because I am using jmap2 I gue

[jQuery] Re: jmaps - callback function problem

2008-01-16 Thread Hamish Campbell
It's a great plugin - I'm using it (well, jmap2 actually) at isat.deft.co.nz to integrate twitter and gmaps (currently a proof of concept page only). I believe I know where you're going wrong. By default, searchAddress performs actions on the current map, rather than returning something useful. H

[jQuery] Re: jmaps - callback function problem

2008-01-15 Thread Duncan
can anyone please help me with this? On Jan 15, 2008 11:35 AM, Duncan <[EMAIL PROTECTED]> wrote: > I am trying to make use of the jMaps plugin > http://digitalspaghetti.me.uk/2007/11/20/jmap2-beta-release-out to > retrieve the lat and long of an address so I can put it into a form element. > > >