HOW TO create a Google Map field?

Talk and info about common issues

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

administrator
Site Admin
Site Admin
Posts: 5992
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO create a Google Map field?

Postby administrator » May 17th, '11, 11:06

To create Google Map field do following:

1. Go to Google Map service and create a code for your place. For example:

Code: Select all

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=33.435463,78.662109&amp;z=4&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/?ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=33.435463,78.662109&amp;z=4&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>


2. Create a textarea field for Add/Edit modes and simple copy this code into this field, then save the record.

That's all!

Return to “ApPHP DataGrid {HOW TO}”