Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 2 guests and 4 members online

powered_by Joomla
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Problem with googleMap (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Problem with googleMap
#4750
jeanpama (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Problem with googleMap 9 Months ago Karma: 0  
Hi, my google map do not show, how to show???
I download the key api and my map not show.
Please help me.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4752
dyhex (User)
Expert Boarder
Posts: 145
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Re:Problem with googleMap 9 Months ago Karma: 4  
Hi there!

As it stands Google Maps is not working correctly on some server settings!

Take a look here and
here
to solve this problems.

Hope it helps

//dyhex
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/02/16 17:00 By dyhex.
 
Dont be afraid of the opposition: remember a kite rises against not with the wind!
  The administrator has disabled public write access.
#5382
fsoares (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with googleMap 4 Months, 3 Weeks ago Karma: 0  
dyhex01 wrote:
QUOTE:
Hi there!

As it stands Google Maps is not working correctly on some server settings!

Take a look here and
here
to solve this problems.

Hope it helps

//dyhex


Hi,

I looking for solution and in the file "GMapAPI.class.php"
I located the problem in "function geoGetCoords" arround the line1321.

Locate the code:
Code:

// if PHP5 available $uri = "http://maps.google.com/maps/geo?q=".urlencode($address)."&output=xml&key=".$this->api_key; $getpage = file_get_contents($uri); $getpage = utf8_encode($getpage); $xml = new SimpleXMLElement($getpage); $coords = $xml->Response->Placemark->Point->coordinates; return $coords;
And replace with this code:
Code:

// if PHP5 available $uri = "http://maps.google.com/maps/geo?q=".urlencode($address)."&output=xml&key=".$this->api_key; $getpage = file_get_contents($uri); $getpage = utf8_encode($getpage); $xml = new SimpleXMLElement($getpage); $cds = $xml->Response->Placemark->Point->coordinates; //New $c = explode(",", $cds); $coords['lon'] = $c[0]; $coords['lat'] = $c[1]; return $coords;
This solves my problem
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/02/13 06:34 By fsoares.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop