{"id":1510902,"date":"2018-04-19T01:03:04","date_gmt":"2018-04-19T08:03:04","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/"},"modified":"2018-04-23T08:33:04","modified_gmt":"2018-04-23T15:33:04","slug":"map-zoom","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/","title":{"rendered":"map zoom"},"content":{"rendered":"<p>after your new version my map show duplicate area why see in attachment pls check its not show proper zoom level see also me change in code and its work before and now cant handle<br \/>\nvar options = {<br \/>\n\t\t\tzoom     : 5,<br \/>\n\t\t\tcenter   : new google.maps.LatLng( TribeEventsPro.geocenter.max_lat, TribeEventsPro.geocenter.max_lng ),<br \/>\n\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP<br \/>\nthis one me change to 8 but nothing also i change here<br \/>\n\/**<br \/>\n\t\t * @function centerMap<br \/>\n\t\t * @desc Centers the active map.<br \/>\n\t\t *\/<\/p>\n<p>\t\tfunction centerMap() {<br \/>\n\t\t\ttg.map.fitBounds( tg.bounds );<br \/>\n\t\t\tif ( tg.map.getZoom() &gt; 5 ) {<br \/>\n\t\t\t\ttg.map.setZoom( 5 );<br \/>\n\t\t\t}<br \/>\n\t\t}<br \/>\nbefore its 13 and now i change to 5 but nothing happend its \/events-calendar-pro\/src\/resources\/js\/tribe-events-ajax-maps.js<br \/>\nthis one file<br \/>\nand other file<br \/>\nevents-calendar-pro\/src\/resources\/js\/tribe-events-ajax-maps.min.js<br \/>\ni changed also here but nothing change<br \/>\n(s.bounds),s.map.getZoom()&gt;5&amp;&amp;s.map.setZoom(5)}<br \/>\nand<br \/>\nk=r(&#8220;#tribe-geo-options&#8221;),T=!1,P={zoom:5,center:new<br \/>\nhelp me what can i do thanks<\/p>\n","protected":false},"template":"","class_list":["post-1510902","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>map zoom -<\/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\/map-zoom\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"map zoom -\" \/>\n<meta property=\"og:description\" content=\"after your new version my map show duplicate area why see in attachment pls check its not show proper zoom level see also me change in code and its work before and now cant handle var options = { zoom : 5, center : new google.maps.LatLng( TribeEventsPro.geocenter.max_lat, TribeEventsPro.geocenter.max_lng ), mapTypeId: google.maps.MapTypeId.ROADMAP this one me change [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-04-23T15:33:04+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/\",\"name\":\"map zoom -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-04-19T08:03:04+00:00\",\"dateModified\":\"2018-04-23T15:33:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/#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\":\"map zoom\"}]},{\"@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":"map zoom -","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\/map-zoom\/","og_locale":"en_US","og_type":"article","og_title":"map zoom -","og_description":"after your new version my map show duplicate area why see in attachment pls check its not show proper zoom level see also me change in code and its work before and now cant handle var options = { zoom : 5, center : new google.maps.LatLng( TribeEventsPro.geocenter.max_lat, TribeEventsPro.geocenter.max_lng ), mapTypeId: google.maps.MapTypeId.ROADMAP this one me change [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/","article_modified_time":"2018-04-23T15:33:04+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/","name":"map zoom -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-04-19T08:03:04+00:00","dateModified":"2018-04-23T15:33:04+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/map-zoom\/#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":"map zoom"}]},{"@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\/1510902","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\/1510902\/revisions"}],"predecessor-version":[{"id":1513839,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1510902\/revisions\/1513839"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1510902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}