Address To Map Generator

Convert Address Text to Google Map using jQuery

map

CSS some styling

iframe{ width:100%; height:300px; }

html element

<address class="setmap">Eiffel Tower, Paris, France</address>

some javascript to do the magic

$("address.setmap").each(function(){
        var embed ="";
        $(this).html(embed);
});

To see working result click here

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s