{"id":999445,"date":"2015-08-26T20:04:02","date_gmt":"2015-08-27T03:04:02","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/"},"modified":"2015-09-15T07:05:12","modified_gmt":"2015-09-15T14:05:12","slug":"google-maps-disable-scroll","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/","title":{"rendered":"Google Maps Disable Scroll"},"content":{"rendered":"<p>Hi there,<\/p>\n<p>I urgently need to disable scroll on my map. I know I need to modify embedded-map.js and I know that it will get over written but I have to modify it asap.<\/p>\n<p>I have added &#8216;scrollwheel: false&#8217; to the &#8216;initialize function but it isn&#8217;t working<\/p>\n<p>function initialize() {<br \/>\n\t\tvenueObject.map = new google.maps.Map( mapHolder, {<br \/>\n\t\t\tzoom     : parseInt( tribeEventsSingleMap.zoom ),<br \/>\n<strong>\t\t\tscrollwheel: false,<br \/>\n<\/strong>\t\t\tcenter   : position,<br \/>\n\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP<br \/>\n\t\t} );<\/p>\n<p>\t\tnew google.maps.Marker( {<br \/>\n\t\t\tmap     : venueObject.map,<br \/>\n\t\t\ttitle   : venueTitle,<br \/>\n\t\t\tposition: position<br \/>\n\t\t} );<br \/>\n\t}<\/p>\n<p>Is there somewhere else I should be putting it?<\/p>\n<p>Regards<\/p>\n<p>Justin<\/p>\n","protected":false},"template":"","class_list":["post-999445","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Google Maps Disable Scroll -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Maps Disable Scroll -\" \/>\n<meta property=\"og:description\" content=\"Hi there, I urgently need to disable scroll on my map. I know I need to modify embedded-map.js and I know that it will get over written but I have to modify it asap. I have added &#8216;scrollwheel: false&#8217; to the &#8216;initialize function but it isn&#8217;t working function initialize() { venueObject.map = new google.maps.Map( mapHolder, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-15T14:05:12+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/\",\"name\":\"Google Maps Disable Scroll -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-08-27T03:04:02+00:00\",\"dateModified\":\"2015-09-15T14:05:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Google Maps Disable Scroll\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Maps Disable Scroll -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/","og_locale":"en_US","og_type":"article","og_title":"Google Maps Disable Scroll -","og_description":"Hi there, I urgently need to disable scroll on my map. I know I need to modify embedded-map.js and I know that it will get over written but I have to modify it asap. I have added &#8216;scrollwheel: false&#8217; to the &#8216;initialize function but it isn&#8217;t working function initialize() { venueObject.map = new google.maps.Map( mapHolder, [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/","article_modified_time":"2015-09-15T14:05:12+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/","name":"Google Maps Disable Scroll -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-08-27T03:04:02+00:00","dateModified":"2015-09-15T14:05:12+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/google-maps-disable-scroll\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Google Maps Disable Scroll"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/999445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/999445\/revisions"}],"predecessor-version":[{"id":999452,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/999445\/revisions\/999452"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=999445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}