搜索位置的Google Map边界

我使用以下代码在我动态搜索的位置(代码)上显示标记。 现在我想突出显示搜索到的位置边界。 (例如,如果我搜索“东京”,它应该标记’东京’的边界(请参考图像以供参考)。

var geocoder; var map; function initialize() { geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(-34.397, 150.644); var mapOptions = { zoom: 8, center: latlng } map = new google.maps.Map(document.getElementById('map-canvas'), mapOptions); } function codeAddress() { var address = document.getElementById('address').value; geocoder.geocode({ 'address': address }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry.location); var marker = new google.maps.Marker({ map: map, position: results[0].geometry.location }); } else { $('#noResults').html("Unsuccessful:" + status); } }); } google.maps.event.addDomListener(window, 'load', initialize);