The module seems to work fine except that I don't see any way how to change the default country.
The gmap module and Location module are installed and works fine with Sweden as default-country.
However, getdirection show UK as the default country.
Is there any way how to change this to for example Sweden?

/ Folke

CommentFileSizeAuthor
#1 getdirections_default_country.patch676 byteshutch

Comments

hutch’s picture

StatusFileSize
new676 bytes

Yes, I see your point, I have had a look and here is a patch.
Alternately if you can't patch replace lines 229 and 259 in getdirections.module with

  '#default_value' => variable_get('location_default_country', 'uk'),

If it works let us know and I'll commit it to CVS

hutch’s picture

Component: Miscellaneous » Code
Category: support » bug

This is a bug in code, my bad ;-(

folke’s picture

It works perfectly now. I changed the default-value from 'uk' to 'se' in the module-file.

hutch’s picture

Status: Active » Fixed

Commited to CVS, it should appear later tonight.

Status: Fixed » Closed (fixed)

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