Hello,
Sorry about the title, wasn't sure what else to put in.
Background:
I have installed the Gmap, Locations and Views modules for Drupal. I have obtained a Google API key for the site I am working on. I am able to create gmap macros in order to display Google maps inside pages and stories. I also am familiar with the ‘low tech’ method of adding markers to a google map by inserting the data into the macro manually.
I have also set up a Node Location map which displays Node locations (I am using this to display project locations around the world by creating a page for each project).
Issue:
I have three issues/questions:
1. Can I display the Node Locations map on the frontpage of my Drupal site inside a page or story? (If yes, what would I need to do?)
2. How can I edit the design and layout of the node locations page? (I would like to remove many blocks from this page and have a large map fill most of the screen.)
3. Can I configure other maps to also show the node locations? (If yes, how?)
Thanks very much.
Any and all help appreciated.
PE.
Comments
Comment #1
PartisanEntity commented^bump
Thanks.
Comment #2
PartisanEntity commentedanyone?
Comment #3
tom_o_t commented1. go to admin -> site configuration -> site information (/admin/settings/site-information) and at the bottom of the page in the default front page you can enter the node map's path (map/node) - this is the easiest way to do it. If you actually need to embed the map within a page you can use the panels module. Alternatively you could create a view using gmap_views and embed that block.
2. In the blocks configuration settings (/admin/build/block) you can control which blocks/menus show up on which page of the site. You could set all blocks to be hidden on the homepage. If you combine this with a theme like garland where the regions aren't shown when there is no content, then your map will take up almost the full screen (if you have set the width to 100%).
3. Not sure exactly what you mean, but enabling the location map block on pages where you want to show the location of the current node would work. But probably what you want to do is use the gmap_views.module. You can create custom views of particular content types or nodes tagged with a particular taxonomy, which will show up on a map.
Hope this helps...
Comment #4
PartisanEntity commentedHi,
Thank you very much, your response helped me very much.
I ended up creating a view with gmap_view in it and now I am displaying the node locations map as a block on the frontpage. I must admit it took me a while to understand how exactly the views_module works.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.