im including this librarys into my page,
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=true"></script>
i'm searching for a url-parameter that restricts the librarys only for one country. I thought i have seen something like this but i can't find it in the docs anymore and googling does not bring me to something usefull.
Update : here are some further informations
Im using two things
places autocomplete, already with restriction :
var options = {
types: ['geocode'],
componentRestrictions: {country: 'de'}
};
autocomplete = new google.maps.places.Autocomplete(input, options);
And also have a geocoder for some cases, also with restriction :
geocoder.geocode({"address":address,"country":"de" }, function(results, status) {...
But somehow when I geocode for example "ho"
the returned formatted Address is " Ho, Ghana Africa", and that is definetly not in Germany
another example is geocoding "21029" (a german zip-code) results in Clarksville, Maryland 21029, USA , wich also is not in germany Any Help ?
Thanks in advance