How to Display Maps using GMap, Views and Location

In the last video, we configured the Location module to store and geocode addresses.

We used “Location CCK” that ships with Location, to define a custom address field on the Article content type. This field allows us to enter in a postal address and then Location stores the address and geocodes it. Now we need to display the address in an actual map.

In this video, we’ll use two modules to create our map: Views to build a block and GMap for the actual map.

The map that we’ll create will be fairly basic. The block will only be visible on the article page if an address is entered in.

If you’re looking for other mapping modules other than GMap, then check out “IP Geolocation Views & Maps”.



[gmap zoom=10 |width=100% |height=200px]