Daniel,
Im not entirely sure what is going wrong there. In Geode we used a
special XPT that they wrapped to make the location calls. If you want
to email me directly I can see if we can provide you that (or you can
grab it out of their XPI as long as you maintain the license agreement).
Try that out and let me know if you still have any problems.
Ryan