WordPress.org

Ready to get started?Download WordPress

Forums

Problems embeding google maps with iframes (1 post)

  1. JHouse
    Member
    Posted 4 years ago #

    Hi,

    You can view the embedded map below. Just click on the "Location" tab about halfway down:
    http://www.ultimatelandsale.com/acreage/tennessee/land-for-sale-in-brandon-north-carolina/

    Okay, I can get the map to work, but for some reason it doesn't show the property marker (the one I want to view) when the page loads. Instead, I have to drag the map over to the right to view the property location. I'm using custom fields for the address that is automatically inserted into the map points. Here's the code:
    <iframe width="460" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?hl=en&q=<?php echo c2c_get_custom('Address'); ?> <?php echo c2c_get_custom('City'); ?>, <?php echo c2c_get_custom('State'); ?>&output=embed"></iframe>

    Any ideas how how to fix this?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic