Just a quick note and a bug fix for those out there on 5.x-1.0.

I was having issues getting markers to appear while using a site configured to use Private Downloads.

My solution was as follows:
1) follow all the steps in the docs and the interface to enable the markers (the copying of the gmap_markers.js file to a world accessible location
2) modify gmap.module line 88
$markerpath = variable_get('gmap_private_markerfile', '') . 'gmap_markers.js';

The $markerpath variable does not have the gmap_marker.js appended and so when the drupal_add_js call is made the location of the gmap_markers.js file is not sent down to the client browser, only the folder that contains the .js file is sent.

Hope this helps those out there that have the same problem.
E/.

Comments

Evan Wise’s picture

Status: Active » Needs review

whoops. that should be line 87, not 88. My bad. It's late. Time for bed.

bdragon’s picture

Status: Needs review » Fixed

Actually, you're supposed to include the filename when setting that variable.

Clarified the settings page so hopefully it will be more apparent.

http://drupal.org/cvs?commit=170574
http://drupal.org/cvs?commit=170577

Status: Fixed » Closed (fixed)

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