After upgrading the markers on a macro that I created don't show anymore. I am using the latest version of Drupal. I don't see any errors. Is there something I am missing. I checked input settings, they seem to be correct as well.

Comments

tacoparty’s picture

I'm having a similar problem. I can't get my markers to display in IE or Chrome. I can see them in Firefox and Opera. I've tried completely deleting the GMaps and Location modules and reinstalling/resetting them up with my nodes, but that didn't work. Not really sure what else to try. I had them working just fine up until two days ago. The only thing that changed on the site was that I added the Fivestar and Voting API modules; however, I had not even enabled those yet. I deleted them just in case but still having the same problem.

tacoparty’s picture

Well, I finally figured out what was happening. I also had a Twitter widget running in the left rail that apparently was causing the markers to not show in IE. In case anybody else has the same problem, that's what worked for me. I just removed that widget from my page.tpl.php and they came back.

Zarevac’s picture

I have none of the kind modules running so I am still looking for a solution.

izmeez’s picture

Have you tried using the latest Gmap 6.x-1.x-dev version?

Zarevac’s picture

Version: 6.x-1.1-rc1 » 6.x-1.x-dev

Yes, no avail the problem remains.

Zarevac’s picture

Btw, I am using the latest version of PHP recently. Could this be a problem?
I did figure out that if I use the Build Gmap Macro the markers do show when I click. But when I copy and paste the code into a story I see the map but no markers.

izmeez’s picture

If you mean you are using php 5.3 - I'm no expert but I remember there was initially a problem but that was fixed in the Gmap module dev version some time ago and I haven't come across other related issues. You can always search the module issue queue.

MatthewDodwell’s picture

Just upgraded to the latest dev version (29-Apr-2010) from the dev version of (24-Jan-2010) and find the markers on gmaps via view are blank. There is no data displayed in the marker. The label is displayed, but not node data. e.g. "Title: "

Reverting to the previous version has successfully got the required functionality back

Zarevac’s picture

Hmm, tried reverting back. No changes.

OpenSourcer’s picture

Just got the same problem. Except that the markers appear but when I zoom in, they disappear. Please help!!!! It was working fine up until now. The only change I made was adding the Google Earth option to GMap. I then removed it thinking that this was the problem but same situation. :-(

OpenSourcer’s picture

Almost had a heart attack.

I changed the gmap.module
line:28
from
define('GMAP_API_VERSION', '2.115');

to
define('GMAP_API_VERSION', '2.153');

and it worked again.

hutch’s picture

What happens if you change it to
define('GMAP_API_VERSION', '2.x');
or
define('GMAP_API_VERSION', '2.s');

see
http://code.google.com/apis/maps/documentation/index.html#API_Updates

In my opinion one of the reasons things don't work sometimes is due to this use of an old version 2.115

Zarevac’s picture

Well, tried this solution but still didn't resolve it :-(

truyenle’s picture

Change the GMAP_API_VERSION Doesn't work for me either!

truyenle’s picture

I found a post here http://groups.drupal.org/node/19614 which describe detail about how to use view + GMAP + Location module to create a map with marker nicely.

In case anyone interested in.

obstikle’s picture

I had a similar problem with markers disappearing.

I found that under some circumstances the base_path() part of Drupal.gmap.iconpath in the "sites/default/files/js/gmap_markers.js" file was returning the wrong value.

Setting $base_url in settings.php fixed this.

izmeez’s picture

@obstikle Doesn't using $base_url in the settings file also make Drupal store absolute filepath names rather than relative for all file uploads?

e.g. http://example.com/sites/files/... rather than /sites/files/...

obstikle’s picture

@izmeez I don't think so. At least, I haven't noticed this behaviour.

I should point out that I was using drupal in a sub-folder, so http://example.local/my-drupal-install-folder

Sometimes gmap_markers.js was generating Drupal.gmap.iconpath = "/sites/all/modules/gmap/markers"; instead of Drupal.gmap.iconpath = "/my-drupal-install-folder/sites/all/modules/gmap/markers";. Hence why the markers weren't being displayed.

johnv’s picture

Status: Active » Closed (won't fix)

Closing this very old issue. Please reopen if it is still valid.