google map show tooltip auf einem Kreis

Ich weiß, ich kann machen Sie eine Markierung mit einem tooltip zeigt, dass "ETWAS" wie diese:

marker = new google.maps.Marker({
        position: new google.maps.LatLng(lat,lon),
        map: map,
        draggable: true,
        title:"SOMETHING",
        icon: '/public/markers-map/male-2.png'
    });

Möchte ich das gleiche tun mit einem Kreis, aber Titel nicht funktioniert.

new google.maps.Circle({
                center: new google.maps.LatLng(lat,lon),
                radius: 20,
                strokeColor: "blue",
                strokeOpacity: 1,
                title:"SOMETHING",
                strokeWeight: 1,
                fillColor: "blue",
                fillOpacity: 1,
                map: map
            });

Es gibt den Kreis, aber nicht die Nachricht "ETWAS".

Wie kann ich es tun? gibt es eine andere Eigenschaft, um es zu bekommen?

Vielen Dank im Voraus.

InformationsquelleAutor Andres | 2014-01-11
Schreibe einen Kommentar