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);
*to*
    var distancevar = document.getElementById('distancevar');
    this.set('distance', distancevar);

The tricky thing is that I am not getting any relevant error reports from 
chrome "developer tools" - just the usual "enable gzip" etc.



function RadiusWidget() {
    var circle = new google.maps.Circle({
        strokeWeight: 2
    });
    // Set the distance property value, default to 50km.
    var distancevar = document.getElementById('distancevar');
    this.set('distance', distancevar);
    //        this.set('distance',10);
    // Bind the RadiusWidget bounds property to the circle bounds property.
    this.bindTo('bounds', circle);
    // Bind the circle center to the RadiusWidget center property
    circle.bindTo('center', this);
    // Bind the circle map to the RadiusWidget map
    circle.bindTo('map', this);
    // Bind the circle radius property to the RadiusWidget radius property
    circle.bindTo('radius', this);
    // Add the sizer marker
    this.addSizer_();
}

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to