 function rechercher(adresse)
                {
                    var geocodeur = new google.maps.Geocoder();
                    geocodeur.geocode({'address': adresse}, function(resultats, status) {


                        if (status == google.maps.GeocoderStatus.OK) { //requete reussie
                            position = resultats[0].geometry.location;

                            // afficher la carte
                            afficherCarte(resultats[0].geometry.location);

                        } else { //il y'a eu un problem lors de la requete
                            alert("Une erreur s'est produite : " + status);
                        }
                    });

                }

                function afficherCarte(position) {

                    var placement=new Array(0,Math.PI/6,Math.PI/4,Math.PI/3,Math.PI/2,2*Math.PI/3,3*Math.PI/4,5*Math.PI/6,Math.PI);

                    var r=0.02;

                    var optionsCarte = {
                        zoom: 13,
                        center: position,
                        mapTypeControl: false,
                        mapTypeId: google.maps.MapTypeId.ROADMAP
                    }
                    carte = new google.maps.Map(document.getElementById("map_canvas"), optionsCarte);



                    var triangleCoords = [



                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[0]),position.lng()+r*Math.sin(placement[0])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[1]),position.lng()+r*Math.sin(placement[1])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[2]),position.lng()+r*Math.sin(placement[2])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[4]),position.lng()+r*Math.sin(placement[4])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[5]),position.lng()+r*Math.sin(placement[5])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[6]),position.lng()+r*Math.sin(placement[6])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[7]),position.lng()+r*Math.sin(placement[7])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(placement[7]),position.lng()+r*Math.sin(placement[8])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[7]),position.lng()+r*Math.sin(-placement[7])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[6]),position.lng()+r*Math.sin(-placement[6])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[6]),position.lng()+r*Math.sin(-placement[6])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[5]),position.lng()+r*Math.sin(-placement[5])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[4]),position.lng()+r*Math.sin(-placement[4])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[3]),position.lng()+r*Math.sin(-placement[3])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[2]),position.lng()+r*Math.sin(-placement[2])),
                        new google.maps.LatLng(position.lat()+r*Math.cos(-placement[1]),position.lng()+r*Math.sin(-placement[1]))
                    ];
                    bermudaTriangle = new google.maps.Polygon({
                        paths: triangleCoords,
                        strokeColor: "#FF0000",
                        strokeOpacity: 0.8,
                        strokeWeight: 2,
                        fillColor: "#FF0000",
                        fillOpacity: 0.35
                    });

                    bermudaTriangle.setMap(carte);




                }

