Home › Forums › MapPress Support › Generate Map from PHP › Reply To: Generate Map from PHP
Just thought I would check the arrays and this
echo “
"; print_r($mypoi_1); echo "
“;
echo “
"; print_r($mypoi_2); echo "
“;
gives
Mappress_Poi Object
(
[address] =>
[body] => Epsom, Surrey
[correctedAddress] =>
[iconid] =>
[point] => Array
(
[lat] => 51.34
[lng] => -0.24
)
[poly] =>
[kml] =>
[title] => Poscode KT17
[type] =>
[viewport] =>
[postid] =>
[url] =>
)
Mappress_Poi Object
(
[address] =>
[body] => Epsom, Surrey
[correctedAddress] =>
[iconid] =>
[point] => Array
(
[lat] => 51.31
[lng] => -0.26
)
[poly] =>
[kml] =>
[title] => Poscode KT18
[type] =>
[viewport] =>
[postid] =>
[url] =>
)