How to set the Leaflet OpenStreetMap in the component and Maps module

How to set the Leaflet OpenStreetMap in the component and Maps module

Support for OpenStreetMaps in DJ-Classifieds component

DJ-Classifieds uses the Google Maps API by default. To enable OpenStreetMaps maps, you need to publish the “DJ-Classifieds - Leaflet Maps” because it is disabled by default. 

After enabling the plugin in the global DJ-Classifieds options (as well as in map modules), the map provider will change automatically:

For the plugin's proper work, it is required to use the latest version of the DJ-Classifieds component. The installed and enabled plugin allows you automatically to start using OpenStreetMaps instead of other interactive maps.

In the advert details view, advert submission form and generating geographical coordinates from advert address or searched address.


The view on the advert page:

DJ-Classifieds map module view:
If you have any ideas about improving this feature, please leave a comment or contact us any other way. Thank you for your feedback.

    Please note that a new version of the knowledge base is available at

      • Related Articles

      • Leaflet OpenStreetMap integration

        Leaflet OpenStreetMap allows DJ-Classifieds users to display the OpenStreetMap in the advert view or in the Map Module. To enable Leaflet OpenStreetMap in DJ-Classifieds: Use the Leaflet OpenStreetMap in DJ-Classifieds. Install the “ DJ-Classifieds - ...
      • Disable mouse zoom scrolling in Google Maps

        You can disable the Google Maps scrolling in DJ-Classifieds Google Maps module and component. Check video explaining how it works: Module Open Google Maps module and change the Mouse zoom scrolling settings to " No " (1) Save the module (2)   ...
      • 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 ...
      • Custom Google Maps Styles

        You can use your Google Maps styles in component (Advert details) and Google Maps modules. Adjusting the map's look and feel is as easy as copying and pasting JSON code to fields in DJ-Classifieds. Where to get Google Maps styles? There are many ...
      • Maps module

        The DJ-Classifieds Maps module displays the Google Maps, Baidu Maps, Leaflet Maps with selected locations of the submitted adverts. Frontend view Backend view & settings Let's take a look at the module parameters: Short description Map Provider - Use ...