Using drupal_add_js with google maps
Your DGMap.js script isn't external, you should use file as type parameter instead.

drupal_add_js('sites/all/modules/GoogleMapByDave/DGMap.js', 'file');


or use an absolute path.

drupal_add_js('http://example.com/yourscript.js', 'external');