Googlemap module

mariusiancu

Joined: 2006-07-15
Posts: 2
Posted: Sat, 2006-07-15 21:19

Hi. I have this strange problem.
I am trying to configure the googlemap module. If I change the default location for 'locate via map' function then I can't get any map anywhere. All I get is that little text explaining how to navigate with pointers in the map. But no map!
I even tryed to changed only the zoom level (the level is 17 by default and the location is deep african jungle - no use for 99% of people) but I get the same problem. I guess is a bug. Anyone had the same problem?

P.S.: another stragne thing: by default I have no values in location and zoom field! But if I say locate via map I have -12,20 and zoom 17. Strange...

Gallery version 2.1.1
Module / Theme name & version: google map 0.5.something
PHP version (e.g. 4.3.11): 4
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33): apache 1.3.7
Database (e.g. MySql 4.0.11): MySQL 5
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): MacOS X
Browser (e.g. Firefox 1.0): all

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Sat, 2006-07-15 21:26

Well the first thing seems to definitively be a bug ... I'll look into it :-)

The second thing is actually "normal behaviour" I had hard coded those value in before and I never thought of changing them when the module migrated to API v2 for google :-)

The reason for hard coding is that if you have no values in the field and try to do a "get via map" it will need to have some center/zoomlevel to display anything. So I need some fallback values and those are the ones for now. The value will be changed in the next version of the module :)
-------------------------
The Termite :-)

 
mariusiancu

Joined: 2006-07-15
Posts: 2
Posted: Sun, 2006-07-16 02:43

First of all thanks for the wonderful job you did. Then, I told you about the hard coded values because I thought it might be some bad reading from wrong variables. It happened to me a lot so I'm very paranoid about it :)
Again, you did a wonderful job. Thank you.

 
Termitenshort
Termitenshort's picture

Joined: 2005-10-09
Posts: 1894
Posted: Sun, 2006-07-16 04:44

Well thanks for all the cheers :-)
-------------------------
The Termite :-)