{"id":747,"date":"2022-08-30T15:06:30","date_gmt":"2022-08-30T15:06:30","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/marker-manager-doesnt-work-in-maps-api-3-10-closed-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:06:30","modified_gmt":"2022-08-30T15:06:30","slug":"marker-manager-doesnt-work-in-maps-api-3-10-closed-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/marker-manager-doesnt-work-in-maps-api-3-10-closed-collection-of-common-programming-errors\/","title":{"rendered":"Marker Manager doesnt work in Maps API 3.10 [closed]-Collection of common programming errors"},"content":{"rendered":"<ol>\n<li>\n<p>Marker Manager is not compatible with Google Maps API v 3.10 and above. Either specify the version when including Google Maps or change line 98 in markermanager.js (version 1.0) from<\/p>\n<pre><code>if (typeof map.mapTypes.get(sType) === 'object' &amp;&amp; typeof map.mapTypes.get(sType).maxZoom === 'number') {\n<\/code><\/pre>\n<p>to<\/p>\n<pre><code>if (sType != \"constructor\" &amp;&amp; typeof map.mapTypes.get(sType) === 'object' &amp;&amp; typeof map.mapTypes.get(sType).maxZoom === 'number') {\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:30:32. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Marker Manager is not compatible with Google Maps API v 3.10 and above. Either specify the version when including Google Maps or change line 98 in markermanager.js (version 1.0) from if (typeof map.mapTypes.get(sType) === &#8216;object&#8217; &amp;&amp; typeof map.mapTypes.get(sType).maxZoom === &#8216;number&#8217;) { to if (sType != &#8220;constructor&#8221; &amp;&amp; typeof map.mapTypes.get(sType) === &#8216;object&#8217; &amp;&amp; typeof map.mapTypes.get(sType).maxZoom === [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-747","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=747"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/747\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}