Hey Horst,
ON a completly unrelated matter. The google geocoder will normally give you a suggestion about the zip, which is in my case somewhere in USA (69221), so I found out that the geocoder has a region property and when set you can set the priority of results.
In media/com_hotspots/js/sandbox.js I change the line 86 to this:
this.getGeocoder().geocode({
'address': location,
'region': 'DE'
}
Now the address search returns first results in Germany and I can properly center the map.
As far the zoom is concerned you can change the code to this:
this.getGeocoder().geocode({
'address': location,
'region': 'DE'
}, function (results, status) {
if (status == google.maps.GeocoderStatus.OK) {
this.getMap().setCenter(results[0].geometry.location);
this.getMap().setZoom(15);
var marker = new google.maps.Marker({
map: this.getMap(),
position: results[0].geometry.location
});
}
window.fireEvent('hotspotsSearchAddressResponse', [results, status]);
}.bind(this));
You see this line:
this.getMap().setZoom(15);
this is the one that sets the zoom you can use values between 1 to 20+