This video tutorial shows how to configure Google Map block in Drupal. Usually the Google Map is displayed on the Contacts page as a sidebar block. Let’s see how to access the configuration options.
First of all you need to login to your Drupal administration area. This can be done using the login form or typing http://your_domain_name/?q=user in the browser address bar. If you didn’t change the default administrator username and password you can use the following details:
- Username: admin
- Password: admin123
Frontend Editing
When you are logged in as an administrator, try to put the mouse cursor over any block on the page. You can notice the configuration icon in the top right corner. This icon leads to the block configuration page. Put the cursor over the map and click the Configuration icon.
You can see the block configuration page. In the content area there is a Google Map code and some custom HTML content.
To get to the Google Map settings page click the Create a Macro link under the block content area. You’ll be transferred to the Google Map settings page. There you can change the basic map settings like location, map area dimensions, marker style etc.
When you are done playing with the settings copy the code from the Macro Text field at the bottom of the page and paste it to the Map block content area replacing the default one.
Scroll down the page and click the Save Block button to save your changes. Now you can go to your contact page and enjoy your new map.
Backend editing
If you are having difficulties accessing the configuration settings through the Config icon on the page click the Structure button at the top admin menu.
Then Click the Blocks button, locate the block that contains the Google Map and click the configuration button.
You’ll be forwarded to the block configuration page. Follow the steps from the “Frontent Editing” part of this manual to configure the map.
Advanced Customization
If you need more configuration options you can access the Drupal Google Map module.
- Login as an administrator.
- Select the Modules menu item from the admin top menu.
- Scroll down and search for the GMap module.
- Click Configure button to access the settings page.
- There you can perform the additional customization for your Google Map.
Feel free to check the detailed video tutorial below: