[Google Maps API v3] Re: controlling the position of a marker with a textbox value

2011-04-23 Thread Jason
awesome! Works perfectly - thanks a million :) -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-ma

[Google Maps API v3] Re: controlling the position of a marker with a textbox value

2011-04-23 Thread Rossko
>     var distancevar = document.getElementById('distancevar'); >     this.set('distance', distancevar); My guess was wrong ; you're supplying a complete HTML element instead of a number. Look into how to get the text value of an HTML element http://www.javascript-coder.com/javascript-form/getele

[Google Maps API v3] Re: controlling the position of a marker with a textbox value

2011-04-23 Thread Jason
Apologies, the full radiuswidget code is included below. How the map and markers should behave: http://code.google.com/apis/maps/articles/mvcfun/step6.html How the map and markers behave when I change the small bit of code: http://test-psi-alpha.appspot.com/ *from * this.set('distance',10);

[Google Maps API v3] Re: controlling the position of a marker with a textbox value

2011-04-22 Thread Rossko
> This is a seemingly simple issue, but it's been bugging me for a couple of > weeks now and I cannot seem to work around it. Any ideas would be very much > appreciated. Dunno without seeing it in action, the snippet looks irrelevant and cretainly doesn't contain the code you are complaining about