Markers show fine on my usermap and nodemap when no marker manager is used, but when I use Google's GMarkerManager or
Gmaps Utility Library MarkerManager, markers do not show at all. I went through the tutorial http://groups.drupal.org/node/19614 to make sure that I've done everything required. And, in both cases, I viewed the page source to verify that the correct URL to the respective .js file are given, and, using a debugger (FireBug) I verified that those files are being loaded when the page is loaded.

Comments

drupal92037’s picture

I set my debugger (FireBug) to break on any error and it stops at the first line of MarkerManager.prototype.getGridCellCreate_() in markermanager.js, saying that variable grid is null. And that is because this.grid_[z] is null, because z is 17 and nothing is defined for that index. this.grid_ has elements for [1] through [4] but doesn't go up to 17.

MarkerManager.prototype.getGridCellCreate_ = function(x, y, z) {
  var grid = this.grid_[z];
  if (x < 0) {
    x += this.gridWidth_[z];
  }
  var gridCol = grid[x];
  if (!gridCol) {
    gridCol = grid[x] = [];
    return gridCol[y] = [];
  }
  var gridCell = gridCol[y];
  if (!gridCell) {
    return gridCol[y] = [];
  }
  return gridCell;
};
rooby’s picture

Priority: Critical » Major
Status: Active » Postponed (maintainer needs more info)

Is this still a problem using the latest gmap module version?

This is not critical as you can work around it by using regular markers.

jkingsnorth’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No additional information provided, closing. Please reopen against the latest dev with full instructions about how to recreate the problem if this is still an issue. Thanks.