aimeerivers / active_geohasher

resources for geohashers
http://activegeohasher.com
10 stars 1 forks source link

"Choose your location" dysfunctional #2

Closed relet closed 15 years ago

relet commented 15 years ago

It looks like it is not meant to work yet, but just in case. The choose your location dialog does not show more than an empty blue pane for me.

http://activegeohasher.com/location

aimeerivers commented 15 years ago

Ah, interesting, you're now the second person to have that issue. I'll look into it! Thanks for letting me know.

relet commented 15 years ago

FYI: I am running firefox 3.0.10 on Ubunty jaunty.

aimeerivers commented 15 years ago

very odd, i also use ubuntu jaunty jackalope and firefox 3.5.2 work fine for me. i think the other person to have problems was on both safari/mac and firefox/windows.

it's probably just something about the way i'm loading the google maps api. i'll find it out! :)

aimeerivers commented 15 years ago

hi relet,

i have changed the way it calls the google map. could you check for me whether that works any better now? thanks!

relet commented 15 years ago

Negative, sorry. :[

aimeerivers commented 15 years ago

hum. presumably you can see google maps on other sites? are you using http://activegeohasher.com? Can you try http://activegeohasher.co.uk just to see if there's any difference?

relet commented 15 years ago

It's the same shade of blue.

The Google API works fine on other sites, both the static and the dynamic versions, e.g. on peeron and tjum. I've also tried to disable any filter plugins, even though they didn't complain.

Could be an ajax issue.. The form itself looks fine to me, but update_location does not have any content.

aimeerivers commented 15 years ago

Thanks for your investigations. The blue is in fact irrelevant - it's just a colour i put into the CSS to show something whilst the map is loading. For you the map is just not coming up at all.

The /update_location is fine but it requires a PUT not a GET. If you could set your location on the map, that would work fine.

I'll have another careful look and see if i can spot the difference between this and other sites which use google maps.

aimeerivers commented 15 years ago

Another person has now reported the problem. i wonder what is wrong ...?

aimeerivers commented 15 years ago

Aha! i think the problem was that @google.loader.ClientLocation@ does not work reliably. So i am now using the controller to guess the location from ip address, or set it somewhere in the middle of Europe if it can't detect that way.

Of course, once you have set your location it will come back there. It's just when it tries to guess initially to put you vaguely in the right place.

I also exposed the text boxes so that you can enter coordinates yourself if the map doesn't work. So there is a solution either way. But the map should definitely work for everybody now! :)