$('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
    require(['jquery', 'hji-common/gMap'], function($)
    {
        $.gMap();
    });




    if ($('[data-init="streetview"]').length > 0)
    {
        require(['jquery', 'hji-common/streetView'], function()
        {
            $('[data-init="streetview"]').streetView({wrapperSelector: '#street-view'});
        });
    }




    $( '#birds-eye-view iframe' ).attr( 'src', function ( i, val ) { return val; });
});
This entry was posted in   .
Bookmark the   permalink.

Matt Barrett has written 1 article

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>