Reply To: Map generated from custom fields / display in template don't show

Home Forums MapPress Support Map generated from custom fields / display in template don't show Reply To: Map generated from custom fields / display in template don't show

#13793
fanchrobin
Participant

Hello Chris,
Thank you for your quick answer.
I tried the function geocode() in my template like this :

$mymap = new Mappress_Map(array("width" => 646));
$mypoi_1 = new Mappress_Poi(array("address" => $adresse_complete_resto_br ));
$mypoi_1 = geocode();
$mymap->pois = array($mypoi_1); 
echo $mymap->display();

and I get a PHP error ‘call to undefined function’.
Here is the URL: See at the bottom of the post, under the title ‘MapPress Test’
Thanks