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 1 member online

powered_by Joomla
Duplicate entry \'0\' for key 1 SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1223823538\', \'Re:Work-around: Google maps not showing\',\'\',\'\',\'view\',\'/index.php?option=com_fireboard&Itemid=42&func=view&catid=9&id=3364\', \'38.103.63.59\', \'0\')
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Work-around: Google maps not showing (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Work-around: Google maps not showing
#3324
theconsul (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Work-around: Google maps not showing 1 Year, 5 Months ago Karma: 0  
dyhex01 wrote:
QUOTE:


Edit the code:

$gmap->setCenterCoords($lat,$lon);

to:

$gmap->setCenterCoords(7,50);

Play around a bit until it fits you area...

About the marker not showing up. I'm not sure but maybe geocding is not available in you area or it has something to do the address-data is handed over the the api- script. This is done in:

$address = "$obj->street $obj->town $obj->state $obj->country $obj->pcode";

code of estateagent.php

Try to edit it to:

$address = "$obj->country $obj->pcode";


//dyhex


it is clearly a workaround, normally it should center on the marker

i changed the coords to $gmap->setCenterCoords(5,52);

thats the best i can get

as for the api, it should work for belgium

i have played a bit with and did it your way first but now i only left out state coz we do not use that

$address = "$obj->street $obj->town $obj->country $obj->pcode";

We only have street, nr, zipcode, place and country

still no luck, no marker to be seen

ty for the effort though

results are here

http://www.diversum.be/component/option,com_estateagent/act,object/task,showEO/id,1/

it now works in IE though, so that is a step forward
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3329
dyhex (User)
Expert Boarder
Posts: 146
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Re:Work-around: Google maps not showing 1 Year, 5 Months ago Karma: 4  
Hi theconsul!

Yeah only a workaround
Its working good on the EA demoside. So i think it has do with some server-settings or php-settings.

Well, I'am working on a solution with this module here

to make it work like this
 
Report to moderator   Logged Logged  
 
Dont be afraid of the opposition: remember a kite rises against not with the wind!
  The administrator has disabled public write access.
#3332
theconsul (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Work-around: Google maps not showing 1 Year, 5 Months ago Karma: 0  
yep that looks good

think that i will continue to use hotproperty till there is a working fix

cannot figure it out myself anymore, i am stuck

we will see

tc
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#3355
admin (Admin)
Admin
Posts: 562
graph
User Offline Click here to see the profile of this user
Gender: Male MisterEstate Location: South Germany
Re:Work-around: Google maps not showing 1 Year, 5 Months ago Karma: 32  
Hi Consul,

like dyhex wrote, please try to play around with the address data order to get it work for your country:

$address = "$obj->street $obj->town $obj->country $obj->pcode";

There should lie the solution for your problem.
 
Report to moderator   Logged Logged  
 
kindly regards / beste Gruesse

Admin
  The administrator has disabled public write access.
#3356
admin (Admin)
Admin
Posts: 562
graph
User Offline Click here to see the profile of this user
Gender: Male MisterEstate Location: South Germany
Re:Work-around: Google maps not showing 1 Year, 5 Months ago Karma: 32  
if you need GoogleMap support, you wonīt become lucky with Hot Property. As I know HP doesnīt have built in GoogleMaps support. But try it, Hot Property isnīt a bad product.

btw: please try to use the modified GoogleMaps API, delivered with the MisterEstate package. During development I had some issues with showing the correct location too, so Iīve rewrited two functions of the original GoogleMaps API and get it work finally as you can see on the demopage.

btw II: are you using the default MisterEstate template or the extended? For GoogleMpas you should use the extended one, because the deault template doesnīt work with GoogleMaps, because of some JavaScript conflicts, which I couldnīt solve in time.<br><br>Post edited by: admin, at: 2007/04/20 02:09
 
Report to moderator   Logged Logged  
 
kindly regards / beste Gruesse

Admin
  The administrator has disabled public write access.
#3364
theconsul (User)
Fresh Boarder
Posts: 15
graphgraph
User Offline Click here to see the profile of this user
Re:Work-around: Google maps not showing 1 Year, 5 Months ago Karma: 0  
i played around again

and used:

Code:

$address = &quot;$obj-&gt;street $obj-&gt;pcode $obj-&gt;town $obj-&gt;state $obj-&gt;country&quot;;
that did the trick, just changed the place and have set the pcode second this shows the marker, now only the autocenter one last question: can i leave the street name out in property location with the map24 button or will this cause a faillure in the working of the map and map24? I do not waht ppl to see the street immediatly on the property details page
 
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