diff --git a/gmaps.js b/gmaps.js index 400996e1..f8a292fb 100644 --- a/gmaps.js +++ b/gmaps.js @@ -204,6 +204,8 @@ var GMaps = (function(global) { markerClustererFunction = options.markerClusterer, mapType = google.maps.MapTypeId[options.mapType.toUpperCase()], map_center = new google.maps.LatLng(options.lat, options.lng), + scrollwheel = valueOrDefault(options.scrollwheel, true), + fullScreenControl = valueOrDefault(options.fullScreenControl, true), zoomControl = valueOrDefault(options.zoomControl, true), zoomControlOpt = options.zoomControlOpt || { style: 'DEFAULT', @@ -223,6 +225,7 @@ var GMaps = (function(global) { mapTypeId: mapType }, map_controls_options = { + scrollwheel: scrollwheel, panControl: panControl, zoomControl: zoomControl, zoomControlOptions: { @@ -232,7 +235,8 @@ var GMaps = (function(global) { mapTypeControl: mapTypeControl, scaleControl: scaleControl, streetViewControl: streetViewControl, - overviewMapControl: overviewMapControl + overviewMapControl: overviewMapControl, + fullscreenControl: fullScreenControl }; if (typeof(options.el) === 'string' || typeof(options.div) === 'string') {