Hi - I can draw a circle on the map no problems. What I want to do is set the radius to the value entered into an input field.
This all sounds pretty simple. function distanceChanged() { var val = $("#someinputfield").val(); console.log(val); circle.set('radius', val); console.log(circle.get('radius')); } That does not change the circles radius. The circle just disappears. But in the console I get the value that was entered into the input field for the circles new radius. The value entered is always in meters. Now if I hard code the new radius value it works! What am I missing? function distanceChanged() { circle.set('radius', 90000); } Why does coding an integer value work, but the value entered into the input field does not? I'm a totally newb to google maps. Sorry if this is easy :) thanks -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/bB3b_FklARkJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.