/**
 * Create google map element and focus map on given location.
 * 
 * @param {string} title Marker title
 * @param {float} lat Longitude
 * @param {float} lon Latitude
 */
function initGoogleMap(title, lat, lon)
{
    var configLatlng = new google.maps.LatLng(lat, lon);
    var options = {
        zoom: 14,
        center: configLatlng,
        mapTypeId: google.maps.MapTypeId.ROADMAP
    };
    var map = new google.maps.Map(document.getElementById("mapCanvas"), options);

    var marker = new google.maps.Marker({
        position: configLatlng,
        map: map,
        title: title
    });
}
