<?php
/**
 * @var $location_display_map
 * @var $location_display
 * @var $address_value
 */

if ( $location_display_map == 'yes' ) {

	if ( $location_display == 'single_request' ) { ?>

		<iframe class="request-google-map" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?q=<?php echo $address_value; ?>&output=embed"></iframe>

	<?php } else { ?>

		<div class="request-map" data-address="<?php echo $address_value; ?>"></div>

	<?php }

}