Home arrow News
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





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

powered_by Joomla
Report a comment

Thank you for taking the time to report the following comment to the administrator of this site.
Please complete this short form and click the submit button to process your report.

Name:
 
E-mail
 
Reason for reporting comment
 
 
 

Comment in question
Written by sheray, on 10.05.2008 05:42
Code:
Hi All 
 
Finally got it to work.  
 
Google map does not work with all the countries. it has only few supported ones.  
First check if component is working on not. Try putting some location in Paris or somewhere else just to confirm 
if it’s working on not.  
if it’s working and your location is not working then follow following steps.  
 
1) You have already updated the googlemap componnent. 
You can download always the newest API version at: 
www.phpinsider.com/php/code/GoogleMapAPI/ 
 
2) You need to make sure you have extended template for misterestate. Its option in given some where in configuration in admin 
Control panel for misteresate.  
 
3) you need to edit the estateagent.php with following. Make sure you keep the backup of the file. And also use the phpeditor 
to edit it.  
 
step 1 
//find the following line and disable it or remove it.  
$gmap->addMarkerByAddress($address,"GMap Test","GMap Description";);  
 
step 2 
//add the following lines.  
QUOTE: 
$geostuff = "$obj->district"; 
$gmap->addMarkerByAddress($geostuff , "This is a title", "xxx";)
 
step 3 
now you need to add the go coordinates for your location. use Google earth or maps to find exact coordinates you need.  
And add the same in district. Example 25.079885,55.140252 
 
 
I really wish this option was built into misteresate. i am not made this tweak  
After looking very had into the forms i was finally able to get this thing working. Cheers to team. Great product.