I try to set on the fly a MapOption with this code attached on a
button
<script>
 var map;
        function change(valore){
                if (valore=="n"){
                        map.MapOptions:{
                                disableDefaultUI:true
                        };
                }else{
                        MapOptions:{
                                disableDefaultUI:false
                        };
                }
        }

        function initialize() {
         geocoder = new google.maps.Geocoder();
          var latlng = new google.maps.LatLng('.$row->gmap.');
      var myOptions = {
      zoom: '.$row->gmap_zoom.',
      center: latlng,
          navigationControlOptions: {
             style: google.maps.NavigationControlStyle.ZOOM_PAN
           },
........

but the change function not work.
Thank you
-- 
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