{"id":961,"date":"2025-03-24T14:28:08","date_gmt":"2025-03-24T14:28:08","guid":{"rendered":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-to-lazy-load-maps-in-geodirectory\/"},"modified":"2025-04-03T15:24:29","modified_gmt":"2025-04-03T14:24:29","slug":"how-to-lazy-load-maps-in-geodirectory","status":"publish","type":"gd_place","link":"https:\/\/wpgeodirectory.com\/documentation\/article\/how-tos\/how-to-lazy-load-maps-in-geodirectory\/","title":{"rendered":"How to Lazy Load Maps in GeoDirectory?"},"content":{"rendered":"<p>\n\tStarting version 2.1, GeoDirectory comes with lazy loading support for maps. This article will outline how to enable lazy load for maps on your site.&nbsp;<\/p>\n<h2>Lazy Loading for GD Maps<\/h2>\n<dl>\n<dt>1<\/dt>\n<dd>\n\tNavigate to <strong>GD &gt; Settings &gt; General (tab) &gt; General (sub-tab).&nbsp;<\/strong> <\/dd>\n<p>\t<img width=\"616\" height=\"424\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-RKSWm7Ws5P.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-RKSWm7Ws5P.png 616w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-RKSWm7Ws5P-300x206.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/p>\n<dt>2<\/dt>\n<dd> <strong><\/strong>Click the <strong style=\"background-color: initial;\">Show Advanced <\/strong>button (learn more about <a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/hidden-advanced-settings\/\">Hidden Advanced Settings<\/a>).&nbsp;\n\t<\/dd>\n<p>\t<img width=\"920\" height=\"348\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UD6L6CRFNr-1024x387.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UD6L6CRFNr-1024x387.png 1024w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UD6L6CRFNr-300x113.png 300w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UD6L6CRFNr-768x290.png 768w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-UD6L6CRFNr.png 1124w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/p>\n<dt>3<\/dt>\n<dd>\n\tScroll down to the <strong>Maps Settings&nbsp;<\/strong>section, and find the <strong>Lazy Load Maps <\/strong>option.&nbsp;\n\t<\/dd>\n<p>\t<img width=\"616\" height=\"424\" src=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-RKSWm7Ws5P-1.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-RKSWm7Ws5P-1.png 616w, https:\/\/wpgeodirectory.com\/documentation\/wp-content\/uploads\/2025\/03\/file-RKSWm7Ws5P-1-300x206.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/p>\n<dt>4<\/dt>\n<dd>\n\tBy default, lazy loading for maps is off. You can set it to <strong>Auto <\/strong>wherein maps will be visible on page scroll, or you may set it to <strong>Click to Load, <\/strong>where users will need to click to display the map.&nbsp;\n\t<\/dd>\n<dt>5<\/dt>\n<dd> <strong>Save <\/strong>your settings, and that&#8217;s all.&nbsp;\n\t<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Starting version 2.1, GeoDirectory comes with lazy loading support for maps. This article will outline how to enable lazy load for maps on your site.&nbsp; Lazy Loading for GD Maps 1 Navigate to GD &gt; Settings &gt; General (tab) &gt; General (sub-tab).&nbsp; 2 Click the Show Advanced button (learn more about Hidden Advanced Settings).&nbsp; 3 [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[673,826,827],"article\/categories":[211,432],"class_list":["post-961","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-maps","gd_place_tags-lazy-loading","gd_place_tags-lazy-load-maps","gd_placecategory-tips-tricks-more","gd_placecategory-how-tos"],"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/961","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/comments?post=961"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/961\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/media?parent=961"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/tags?post=961"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/documentation\/wp-json\/wp\/v2\/article\/categories?post=961"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}