
    (function ($, window, document, undefined) {
    $(function () {
    var gme = new Object();

    gme.zoomTypes = new Array(0,1,2);
    gme.defaultMapTypes = new Array("roadmap", "satellite", "hybrid", "terrain", "");

    gme.mapSettings = {
    id: 'gme-' + 110,
    title: 'Sägewerk Lettland eng',
    width: '100%',
    height: '600px',
    zoom: 0,
    minZoom: 0,
    maxZoom: 0,
    lat: 0,
    lng: 0,
    geolocation: 0,
    kmlUrl: '',
    kmlPreserveViewport: false,
    kmlLocal: 0,
    scrollZoom: 1,
    draggable: 1,
    doubleClickZoom: 0,
    markerCluster: 1,
    markerClusterZoom: null,
    markerClusterSize: null,
    
            markerClusterStyle: '',
        
    markerSearch: 0,
    defaultType: 0,
    panControl: 1,
    scaleControl: 0,
    streetviewControl: 1,
    fullscreenControl: 1,
    zoomControl: 1,
    zoomControlType: 0,
    mapTypeControl: 1,
    showRoute: 0,
    calcRoute: 0,
    travelMode: 0,
    unitSystem: 2,
    showForm: 0,
    showCategories: 0,
    logicalAnd: 0,
    styledMapName: '',
    
            styledMapCode: '',
        
    defaultZoom: 11
    }

    gme.mapSettings.mapTypes = new Array();
    
        gme.mapSettings.mapTypes[0] = gme.defaultMapTypes[0];
    
        gme.mapSettings.mapTypes[1] = gme.defaultMapTypes[1];
    
        gme.mapSettings.mapTypes[2] = gme.defaultMapTypes[2];
    

    gme.request = new Array();

    

    gme.addresses = new Array();
    
        gme.addresses[0]  = {
        uid: 198,
        title: 'BSW group | Latvia Sawmill',
        latitude: 56.912618,
        longitude: 24.240534,
        address: 'Granīta iela 24 Rumbula Stopiņu novads LV-1057, Lettland',
        
                
                        marker: 'https://www.binderholz.com/fileadmin/_processed_/e/3/csm_pin_9f73eb4403.png',
                        imageSize: 1,
                    
            

        imageWidth: 32,
        imageHeight: 50,
        infoWindowContent: '                        <img src="https://www.binderholz.com/fileadmin/user_upload/unternehmen/BSW_group/Standortbilder/google_Maps_150px/Latvian_Sawmill_150px.jpg" width="257" height="150" alt="" />                        <p><strong>BSW Latvia SIA</strong><br> Granita iela 24<br> Rumbula<br> Stopinu pag., Ropazu novads<br> <strong>LV-1057</strong></p>',
        infoWindowLink: 0,
        
                openByClick: 1,
            
        
                closeByClick: 1,
            
        opened: 0,
        categories: ''
        }
    

    gme.ll = {};
    gme.ll.alert = "Please enter a valid address.";
    gme.ll.submit = "Calculate Route";
    gme.ll.noSearchResults = "No results found.";
    gme.ll.infoWindowLinkText = "Calculate Route";
    var $element = jQuery("#" + gme.mapSettings.id);
    $element.gomapsext(gme);
    if(gme.mapSettings.width.indexOf('%') != -1) {
        jQuery(window).resize(function() {
            $element.trigger('mapresize');
        });
    }

    }); // end of closure
    })(jQuery, window, document);
