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