Training and Development for Drupal

GMap + Location Screencast

FAIL (the browser should render some flash content, not this).

If you like this screencast, you can show it by pitching in to a special fundraising effort. (And here's why.)

Drupal can store and display geographic information through the use of the contributed modules called GMap and Location, part of the geocoding module stack known as Mapadelic. Together they form the foundation of building rich maps using Google's map service.

This screencast covers the basic setup required to produce your first Google mapped nodes and display all your nodes on one big map.

Prior experience with Drupal 6 core will help you follow along with this lesson, especially in the area of enabling and configuring modules and customizing content types.


History Of Marriage In America
Updated on January 13, 2016
To the western world Prince Albert and Queen Victoria were role models for a happy marriage during the 19th century. Source
This history of marriage in America in the 1800s and early 1900s provides insight into the views and roles of husbands and wives during this time period. We also discuss age at marriage statistics, sex and sexuality in marriage, and societal expectations of husbands and wives in the late 19th and early 20th centuries.
Statistics: Age at First Marriage
Many people who think about the 19th and early 20th centuries mistakenly believe that American men and women were most commonly married in their teens. But this is not so. According to the U.S. Decennial Census American Community Survey (2010), the median age at first marriage for American women in 1890 was about 23.5. Age at first marriage for men was about 26.5.
Economics played a factor in preparing for marriage and it often included getting an education and paying for college Middle-class men usually married after going to college and working a few years, and middle-class women often left college when they got married.
Common Views of Marriage
This true story from the late 1890s provides a great example of a young woman's view of her life as she heads toward marriage.
Young men and women looked forward to being married for a number of reasons:
First, it was the ultimate symbol of adulthood. In the 1800s and early 1900s people looked forward to being grown up. They received the respect of society as an adult, contributed to society, and made their own decisions. Unlike now, where it is fashionable for adults well into their 40s to delay adulthood.
Women knew they would be financially provided for for the rest of their lives in their roles as housewives, protected from the outside world, and be viewed as having filled society's ultimate role for woman: as a loving companion to man and one who truly made a house into a warm, welcoming home.
The couple enjoyed being showered with presents. In the 1800s it became customary to expect that wealthier guests would bring an appropriately lavish gift such as dinnerware, silver, lace material, or crystal. The new couple would be able to begin decorating their home and the gifts served as ties of remembrance to friends who cared enough to give a lovely gift to the wedded couple.
Men looked forward to marriage because it provided for them a companion who would give them a happy respite from the harsh realities of the working world, and also provided for them a permanent sexual companion. Since sex before marriage was fiercely looked down upon, marriage represented to men acceptable and healthy sexual release.
A Victorian husband and wife with their baby
Ads in Women's Magazines in 1890s
Sex and Sexuality in Marriage
The 19th and early 20th centuries were a time of modesty. While it was accepted that sex is part of a healthy marriage, women were encouraged to sometimes resist the urges of their husbands so that their men remember that they are not sexual objects, but Christian women deserving of respect. Sex was viewed ultimately as a tool for procreation, but the medical community's wisdom was that sex kept the humours in balance and therefore harmony in the home.
The Duties of a Good Wife
In industrialized society, a good wife was responsible for cooking for her family, decorating the home, sewing clothes, draperies, and blankets. She also cleaned the house and did laundry. If her husband could afford to hire help, the wife would get a break from some of the duties. During this time period in history, being a housewife was quite special, as homemaking became an art form
A good wife would try to provide children to her husband if he wanted them. And if a married couple had children, the wife would watch them and teach them manners. This way of living was part of a society that expected everyone behave by certain standards of etiquette And in the marriage the wife was expected to be of good temperament so that the marital home would be happy.
The Duties of a Good Husband
A husband was first and foremost the leader of the home. He was the ultimate decision maker even though he usually consulted his wife. He provided for his wife, and children, if they had any. He was the protector responsible for the safety of his family. The husband corrected and punished his children when they behaved badly.
He was a role model for the type of man his son should become and for the type of man his daughter would aim to marry. Although a husband was expected to be a disciplinarian he was also expected to practice level-headedness and have an even temperament with his wife and children.
The Cultural Results of Married Life in the 1800s and Early 1900s
The history of marriage from this time period enriched not only the men and women that lived during the time, but their offspring for generations to come. The morality, sense of refinement, household cultivation, and proper rearing of children are still facets of life that are especially important to married middle and upper-class Americans and Britons today.
Getting married is and always has been a step in life to look forward to
Related Hubs:
Recommended Hubs
Please rate this article using the scale below. The scale is from 1 to 10, where 10 is the best and 1 is the worst.
Your Rating: ?
Copyright © 2016 HubPages Inc. and respective owners.
Other product and company names shown may be trademarks of their respective owners.
HubPages® is a registered Service Mark of HubPages, Inc.
HubPages and Hubbers (authors) may earn revenue on this page based on affiliate relationships and advertisements with partners including Amazon, eBay, Google, and others.

I don't care about this, now i'm earning average 4000$ a month. There is tricky method i found on the internet. If you want to learn it too, simply type in google: Hatvesu's Earning Online Strategy

Short, Sweet, to the point, Keep it up.

Fantastic, very clear... perfect!!
Grazie mille!!!

I´ve follwed again all your steps but the maps doesn´t show any marker and the map that shows in the created node is smaller than the size fixed in gmap configuration.
Can you help me please?

This was very nice. Things look and locate slightly differently now that we're at newer versions of stuff, but the video applies for the most part, and is super helpful :)

Thanks for taking the time to record this for the rest of us!

Thank you! This was very helpful for me.

Eugen Popov

Sean, Thanks for the simple example here. I am planning on toying with this concept soon on a site that enables the user to type in a zip code (their own presumably) to locate specific shops in their area. I.e., Shops that carry our products. Before I get started plugging away, can you suggest whether I will need any additional modules - aside those in your example - to pull this off?


Sean, Thanks for the simple example here. I am planning on toying with this concept soon on a site that enables the user to type in a zip code (their own presumably) to locate specific shops in their area. I.e., Shops that carry our products. Before I get started plugging away, can you suggest whether I will need any additional modules - aside those in your example - to pull this off?


Great stuff, thanks1

Thanks so much!

I was really battling to get the gmap module to work & with the help of your tutorial it made it so easy!

Much appreciated


What do you recommend using for Drupal 7?

Great Stuff Sean Thanks!

My deepest gratitude to you, Sean, this video was so very very helpful!

very helpful!

Does anyone know how to automatically generate an address when you move the marker in Google Map to the location you want?



Does anyone know how to automatically generate an address when you move the marker in Google Map to the location you want?



Does anyone know how to automatically generate an address when you move the marker in Google Map to the location you want?



This is the best tutorial for maps in drupal out there.
Really helped me alot.

Thanks alot!

Great tutorial Sean! Enjoyed it very much. Do you post any other of the Gmap functionality in Druapl that you mentioned at the end of the screencast?

This was very helpful. Just when I was about to give in I found this video. Thanks alot.


Thankyou so much Sean :)

Thank you so much for putting together and posting this tutorial! I am a novice when it comes to using Drupal and so the GMaps was very intimidating to configure. This was an excellent tutorial, you did a great job. Thanks!

Great tutorial (as are all of yours). However, I'm under the impression this tool should have the ability to auto center based on the address. What if there are nodes with addresses scattered throughout the US, but I want this to zoom to a 50 mile radius? If I Center this on NYC, but a node has an address in San Diego, that will be frustrating to the user. There must be a way to automate this. If so, please post that here. Thanks!

maybe autozoom can do this?

great tutorial! is there a way to inlcude IMAGES in the map of each node next to the description?

problem solved:
just add an image to the content type and switch the node-view-mode from "teaser" to "full" in gmap_location.module within the function theme_gmap_location_infowindow_node in order to show all elements in the infowindow and not having to click on title of the node.

hope to have helped someone out! :)

Really like the video. Would you mind make a video about Facebook module. Specially check in process. Thank you.

Its really nice and helpfull for all drupal developer

Great screencast!!!
I have a Garland based theme and followed all the step in your tutorial - added the location info to a Page node. When I display the node the textual GMap info is displayed. There is a link to Google Maps page. My understanding that the GMap info is inserted into $content.
I also see the Location Map block on the Blocks screen. I created a region called 'location_map', associated the block with that region and add
<?php print $location_map ?> to page.tpl.php template. However, this print statement doesn't render anything. Any suggestions what could be going wrong?
Thanks loads in advance.
Alex S.

@Alex I am having the same problem. did you find a solution to this. ? I am suing d7


Really very much helpfull..

Thanks a lot that was helpful.
But when I applied this to my content type, the generated google map didn't show the marker on it.
any idea why?

thank you very much for the wonderful tutorial, but I have a silly question;-) How do I change the order, the address and everything else under the map .... I will be grateful for your help:)


Thanks Great tutorial.

But i want something more. I working on job site and i need it to add on company registration page but with login it is not working what should i do?????

Hi Sean,

You are great at keeping things simple, and still getting to the point.
Very illustrative - thank you very much.

Søren B. Christensen

great tutorial, thanks a lot. It was really informational and helpful.

I am getting this error on the site
"GMap marker file settings are not configured properly for Private download method, markers will not work!"

I have the js file path at "admin/settings/gmap" set correctly and i can access the same via browser. I even changed the file permissions to 777 just to cross check if that is causing any issue. But still this error doesn't seem to resolve.

Any help will be really appreciated.
many thanks

Thanks for the Gmap+Location tutorial. You're a great teacher.

Just want to thank you for create this clear explain gmap tutorial, it saves me lots of time.
Good job

Thanks for this quick amd easy map solution exactly what I needed.
Chris UK

Hi why my height of map is not effect event i put bigger.

Can anyone help me.


It very nice. Thanks.


Thanks for the screencast, I did everything you did, and I do get to see the map and location in my contenttype but when I save it nothing appears on the screen, not even the location in writing let alone the map, when I go to edit, everything is there, I tried it with and without a block setup. Any suggestions?


Micha Fuks

Thanks a lot :)

You solved my problem :)

Great prescription, I'm healthy again !! Thank you ! Works great on Drupal 7.2.
I'd like to figure out that "Location" configuration is not reachable from Configuration but through "Module" panel, in Location module -> link "configure".

Thanks again.


Thank you very much, it really helped me a lot!

Thank's from France for this tutorial :)

Very helpful intro. Thank you!

Great Tutorial . thank you for your efforts.

I wonder how to the same thing using CCK field location?

Node Location has to be disabled for CCK field to save and show data but how to get the map to appear on node?

I can see the coordinates selected using gmap but no map nor marker on node.




Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Most Recent Screencast

See video

Support the Association