Show maps on click instead of loading it every time

Show maps on click instead of loading it every time

This feature will make the site faster, less bandwidth-consuming, and reducing requests.

How to enable this feature?

Go to DJ-Classifieds Options and scroll down to Maps & Location settings and set the "Map img on start" parameter to "Yes" and save the settings.



What does it do?

Now the map in the advert's details will not be loaded automatically every time a visitor comes to it. If a user wants to check the map, it's sufficient to click the "Show map" button and plan will be loaded.



How to change the maps image?

You can replace the default image of the map by uploading it to [yourdomain]/components/com_djclassifieds/assets/images/map_blank.png

What are the benefits of enabling this feature?

  1. Faster loading of the adverts details page - we have noticed a drastic change in loading when the Maps are not loaded by default (3.06 sec was reduced to 1.72 sec load time! It's almost two times faster! Of course, it all depends on the location of the user and how the servers operate at the time, but you're reducing calls to the server on load which can impact loading much),
  2. reduced number of HTTP requests,
  3. reduction of Google Maps API requests.
      • Related Articles

      • Using OpenStreetMaps in DJ-Classifieds

        Full support for OpenStreetMaps in DJ-Classifieds component The OpenStreetMap is a new equivalent for Google Maps. As you may know, Google recently updated its policy for using Google Maps. This changes add limits for free usage and require users to ...
      • How to set custom icons for google maps for different categories in DJ-Classifieds?

        You can set your own icons for Google Maps in DJ-Classifieds. The different icon can be set for each category you have. It's easy to do so. Just follow the instructions:  create the icon you want to assign to a particular category name it as in this ...
      • Extra/Custom fields in DJ-Classifieds

        The DJ-Classifieds component allows assigning additional fields to the advert details from a certain category. Settings To create a custom field, click on the Extra Fields button from the Control Panel, then click New from the top right toolbar, and ...
      • User profiles in DJ-Classifieds

        We want to show you how to manage the user profile in DJ-Classifieds. In our short article, you can learn how to make a profile, see how the registration process goes and check how the user's profile looks on the front page. The administrator can ...
      • How to place a banner/adsense into DJ-Classifieds

        DJ-Classifieds has built-in module positions allowing you to put banners (for example, with Google AdSense advertisements) in particular places. Once your template settings allow for displaying module positions (to do so you need to go to your ...