Hi Guys,
I have created a repeater area which outputs multiple maps. All works well bringing the different address etc in but each map displays the same data- only in the browser not within process wire. I assume its an issue with the way I have formatted it but am not sure. Does anyone have any ideas?
Thanks,
Melissa
<?php
foreach($page->maps_left as $maps_left) {
echo "<div class='location_box {$maps_left->left_or_right}'>";
echo "<h1>{$maps_left->maps_left_title}</h1><p>";
echo "<p>{$maps_left->google_maps_left->address}</p><hr>";
$maps_left= $modules->get('MarkupGoogleMap');
echo "{$maps_left->render($page, 'map')}";
echo "</div>";
}
?>