Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 935167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T21:06:55+00:00 2026-05-15T21:06:55+00:00

I am using gmap and location modules to support my content type’s location. I

  • 0

I am using gmap and location modules to support my content type’s location.
I have configured those modules (Map API key, etc…) so when I edit / add new node I get pretty google map to choose/set lattitude jus by mouse pointing.
I can put also address, etc..
But when I view my node map is not showing up. I can only see address fields.

Why it is so confusing?

I have check display fields settings in admin/content/types settings page and all fields are set to be visible.
What am I missing here? Why map is not simply visible as the same as in the node edit page?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T21:06:56+00:00Added an answer on May 15, 2026 at 9:06 pm

    The standard theming doesn’t include an actual map, but it’s pretty easy to do. All you need to use to create the map is the gmap_simple_map function. I’ve done this in the location.tpl.php in the past as I usually want to override that anything. So I add something like this in the bottom of it to include the map:

    <?php
      // "Geo" microformat, see http://microformats.org/wiki/geo
      if ($latitude && $longitude) {
        // Assume that 0, 0 is invalid.
        if ($latitude != 0 || $longitude != 0) {
          $marker = 'Whatever you want the marker to be.';
          print gmap_simple_map($latitude, $longitude, '', $marker, 'default');
        }
      }
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed Location, GMAP, GMAP Location and Location CCK modules. I needed Location
I'm using the gMap plugin for jQuery. On my map I have several markers.
I have an application which is currently using the google map API. I like
I am using InfoBubble to display content in GMap. However the zIndex seems not
I'm using Google map API to display map in simple javascript popup. While popup
I am using the jquery-ui-map plugin (http://code.google.com/p/jquery-ui-map/). I have successfully created a map using
I have the following issue. I have a google map (using YM4r + Geokit)
I am using the gmap module for Drupal 7 along with location and node
I am using gMap. I have the following in my view: <script> $(#map4).gMap({ markers:
using jquery-ui-map here is my code $(document).ready(function() {$('#map_canvas').gmap({ 'center': new google.maps.LatLng(3.162456,21.09375), 'zoom': 2, 'streetViewControl':

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.