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.

Comments

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

Hello:
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?

Thanks,
Marc

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?

Thanks,
Marc

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

Sean,

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?

Thanks,

Mike

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

Thanks,

Mike

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

Thanks,

Mike

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?
Thanks!

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

--Francia

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

Thanks.

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:)
Paul

Thanks.

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

hey
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
rina

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.

Thanks

It very nice. Thanks.

Hi,

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?

Thanks,

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.

Franck

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.

Anyone?

:)

Serving

i have a node type that is referenced by another node. i have created a node content view (views attach module) that displays field from the referencing node in table on the referenced node's full page view. i would like to have a google map on he referenced node page that displays the locations of the referencing nodes. how?

works great, even in Drupal 7...

Thanks a million! These modules didn't have very robust documentation and your overview helped get things jump-started quite nicely.

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 Therapy

Most Recent Screencast

See video

Support the Association