Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sitewebconcept

    (@sitewebconcept)

    Aller je réponds à ma question, in french por favor lol

    dans function.js ajouter les 2 dernières lignes (celles en gras) :

    mapOptions =
    {
    ‘zoom’ : bgmpData.options.zoom,
    ‘center’ : new google.maps.LatLng( bgmpData.options.latitude, bgmpData.options.longitude ),
    ‘mapTypeId’ : google.maps.MapTypeId[ bgmpData.options.type ],
    ‘mapTypeControl’ : bgmpData.options.typeControl == ‘off’ ? false : true,
    ‘mapTypeControlOptions’ : { style: google.maps.MapTypeControlStyle[ bgmpData.options.typeControl ] },
    ‘navigationControl’ : bgmpData.options.navigationControl == ‘off’ ? false : true,
    ‘navigationControlOptions’ : { style: google.maps.NavigationControlStyle[ bgmpData.options.navigationControl ] },
    ‘streetViewControl’ : bgmpData.options.streetViewControl,
    ‘draggable’ : false,
    ‘scrollwheel’ : false,
    };

    Have a nice day les mecs ; )

    Plugin Author Ian Dunn

    (@iandunn)

    It’d be better to use the bgmp_map-options filter so you don’t have to change the file itself, which will be overwritten during upgrades.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Desable draggable’ is closed to new replies.