@zwergo
thanks for the tip. I know that plugin, it is very good, indeed. But since I'm working with SEBLOD, I bought the map template. I could have used the Reumer plugin but then that's one more extension to install and maintain.
As I need to show the map with only one icon and with multiple icons also, I adjusted the code so that the map will center to the marker position when there is only one marker. When there are multiple markers, it will auto extend the bounds of the map so that all markers are visible, auto center and adjust the zoom.
After reading up on the Google Maps API and looking at the index.php of the map template it was quite easy to make these modifications even not being a programmer per se.
Cheers
gerhard