I am using the GMap Module for Drupal 7 along with Location, with Node Locations enabled.

During the creation of an article, when I enter the location values as text fields (e.g. countries, cities) without any latitude and longitudes, the map is not displayed on the article node page.

It is giving error in the front-end like - The map is unable to display because a postal code was not provided.

I have provided the postal code and I have google map API key. no console error. still, it is not showing. see the screenshot for the what values I am entering in locations fields.

enter image description here

However, if I do enter some latitude and longitude values, either manually or using Google Maps, then the map is shown in the article node.

Does anybody have any idea why this happens? Please help how to debug this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.