[Drupal] How to use the Location Map module in drupal?

| | 2 min read

In a drupal site if you want to display the location of a particular place then there are many modules to help you out. In this article I am writing about such a module. The name of the module is 'Location Map module'. In this article you can read about the configuration that has to be done while using the module. The module uses google maps to locate the particular locations.

First step is to download the location map module from the drupal site and place that in the sites/all/modules folder.

Goto the modules page where the modules are listed and enable the location map module.

After enabling the module goto the Admin configuration page and click on the 'Location Map' link displayed in the content authoring block to configure the The location map.

In the configuration page mention the title which will display for the map generated

Mention the Address of the location as in the given format mentioned below the text box. So that it will be displayed in the map as the address location.

In the map type drop down list we can choose what type of map have to be displayed for a particular location.

Can also mention the zoom level and also the size of the location map that has to be displayed.

The Geographical coordinates of a particular location will be found out by the location map module itself from google using the address mentioned or else we can also find out the Geographical coordinates by going to the '/location map page and dragging pointer to the required location and then saving the location and the zoom level.

Now the Geographical coordinates will be displayed in the configuration page.

Save the configuration.

Now goto the blocks page where the location map block will be displayed and mention the region where it has to be displayed in the website.