Sha256: ae68f1f391c0570998f952bc355abc151e265444e0eb1246f8834b0e8031a647

Contents?: true

Size: 629 Bytes

Versions: 6

Compression:

Stored size: 629 Bytes

Contents

"use strict";

var dealers_map;
var $dealers_map_container;

$(document).ready(function() {

    $dealers_map_container = $('#dealers_map_container');

    if ($dealers_map_container.length) {

        _map_calc_width();

        //noinspection JSUnresolvedVariable
        ymaps.ready(function() {

            //noinspection JSUnresolvedVariable,JSUnresolvedFunction
            dealers_map = new ymaps.Map('dealers_map_container', {
                center: [55, 37],
                zoom: 10,
                controls: ['zoomControl']
            }, {maxZoom: 20});

            map_set_objects('all');

        });
    }

});

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
c80_push-0.1.0.11 app/assets/javascripts/c80_push/frontend/c80_push_page_dealers/_map_init.js
c80_push-0.1.0.10 app/assets/javascripts/c80_push/frontend/c80_push_page_dealers/_map_init.js
c80_push-0.1.0.8 app/assets/javascripts/c80_push/frontend/c80_push_page_dealers/_map_init.js
c80_push-0.1.0.7 app/assets/javascripts/c80_push/frontend/c80_push_page_dealers/_map_init.js
c80_push-0.1.0.6 app/assets/javascripts/c80_push/frontend/c80_push_page_dealers/_map_init.js
c80_push-0.1.0.5 app/assets/javascripts/c80_push/frontend/c80_push_page_dealers/_map_init.js