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 3 guests and 5 members online

powered_by Joomla
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Hacking ME to get google maps to work (100% ??) (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Hacking ME to get google maps to work (100% ??)
#4385
JohanSoderstrom (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Re:Hacking ME to get google maps to work (100% ??) 11 Months, 1 Week ago Karma: 2  
did you make sure to put a backslash infront of some n's? are you using versin 2.3 of the API? Are you using the correct "theme" selected from within ME? Only one of the two supports Google Maps
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4386
BlueEagle (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Hacking ME to get google maps to work (100% ??) 11 Months, 1 Week ago Karma: 0  
i made everything like said here
the theme should be god because with the original files it work, the problem is just in the Internet Explorer it dont loads tha map good.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4394
TonyBroker (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Hacking ME to get google maps to work (100% ??) 11 Months, 1 Week ago Karma: 0  
I had the same problems. But I've got it almost running now. I used the 2.4 API and edited the estateagent.php like below

// $gmap = new GoogleMapAPI('map';
// $gmap->setAPIKey($ea_gmap_key);
// $gmap->setWidth($ea_gmap_width);
// $gmap->setHeight($ea_gmap_height);
// $gmap->setMapType($ea_gmap_type);
// // string $address the map address to mark (street/city/state/zip)
// $gmap->addMarkerByAddress($address,"GMap Test","GMap Description"

to:

//NOTE! Depending on where you live this will be different! This works for sweden, figure out how your country has it!
$address = "$obj->street $obj->streetnr $obj->pcoce $obj->town $obj->country";

require($mosConfig_absolute_path."/components/com_estateagent/includes/GMapAPI.class.new.php"
$gmap = new GoogleMapAPI('map';
$gmap->setAPIKey($ea_gmap_key);
$gmap->setWidth($ea_gmap_width);
$gmap->setHeight($ea_gmap_height);
$gmap->setMapType($ea_gmap_type);
//string $address the map address to mark (street/city/state/zip)
$gmap->addMarkerByAddress($address, "<strong>Go here</strong><br>now!!"
//$gmap->setCenterCoords($lat,$lon);
$VDloc1=17.618550;
$VDloc2=59.855620;
$gmap->setCenterCoords($VDloc1,$VDloc2);

I edited the coordinates.
So far so good. At least at this stage I have a map and a marker. But when I try to put in the next code as in the beginning of this thread the map goes blank. So the marker isnt centered in the map. I have to be close now. Anyone willing to help me out here?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4396
JohanSoderstrom (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Re:Hacking ME to get google maps to work (100% ??) 11 Months, 1 Week ago Karma: 2  
tell me where to upload/email it and I will...

Note that there might be some other changes not related to Google Maps in these files as well...

I can probably mark out the changes for the Google Maps and give them to the admin of ME - if he is around and reading this - so it can be made for public download...

~Johan
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4410
eGulp (User)
Senior Boarder
Posts: 52
graphgraph
User Offline Click here to see the profile of this user
Re:Hacking ME to get google maps to work (100% ??) 11 Months, 1 Week ago Karma: 0  
Sorry, but I don't understand why simply don't integrate this plugin http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1147/Itemid,35/ having it to work with ME ?

I think is better for ME to concentrate efforts on component and integrate all features as plugins, better if using plugins yet available ...
Are you agree ?!?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4463
BlueEagle (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Hacking ME to get google maps to work (100% ??) 11 Months ago Karma: 0  
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop