I built my site locally using Aquia Drupal. I am using GMap 7.x-1.x-dev to display projects in the province. Locally my markers are present and everything seems to work, but when I put the site on my web server that map displays the whole province, instead of focusing in on the two markers that are suppose to show up.

I have checked the following:

  • I changed the Base URL in settings.php to display my domain http://leadersoftoday.ca
  • I changed the permissions on my JS file to 777
  • I have noted that people mention the file path /sites/default/files/js, but in my site this path does not exist i just have sites/default and inside that is a file called default.setings.php. Is this because I am using Drupal 7 not 6? or should I add these files there.
  • My gmap_markers.php file is located in sites/leadersoftoday.ca/files/js/
  • I made sure that the markers file was being called appropriately in gmap_markers.php
    Drupal.gmap.iconpath = "sites\/all\/modules\/gmap\/markers";

When I make these changes, I run cron. But nothing changes. I have no errors reported within Drupal admin or from firebug.

I have been following 2 different strings (http://drupal.org/node/910482 and http://drupal.org/node/923630) and trying fixes mentioned there, but I think they are for version 6 not the 7 dev.

Any help would be greatly appreciated.

Comments

Kylie Morgan’s picture

Have you found a solution to your issue? My map markers are displaying on individual nodes using the location module, but no markers display for /map/node or for the view I created. How can I see if the markers are being called? I am not sure if they are missing or "invisible". Is there a way to check this on page load? Do you have any suggestions for me? Anyone?

johnv’s picture

Status: Active » Fixed

I hope you got GMap working. If not, please reopen. Try version 7.x-2.x first.
If you have problems because your site is running in a subdirectory, check #1098030: Map markers do not display on node view when site is in a subdirectory

podarok’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

bumping version

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.