<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bagesh Singh&#039;s Blog &#187; latitude</title>
	<atom:link href="http://www.bageshsingh.com/bagesh-blog/tag/latitude/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bageshsingh.com/bagesh-blog</link>
	<description>Shortest Distance to  Web Solutions &#38; Software Solutions</description>
	<lastBuildDate>Wed, 22 Feb 2012 18:42:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Mapping The IP Address to Latitude and Longitude In Google Maps</title>
		<link>http://www.bageshsingh.com/bagesh-blog/2010/04/mapping-the-ip-address-to-latitude-and-longitude-in-google-maps/</link>
		<comments>http://www.bageshsingh.com/bagesh-blog/2010/04/mapping-the-ip-address-to-latitude-and-longitude-in-google-maps/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 13:52:32 +0000</pubDate>
		<dc:creator>Bagesh Singh</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[tips and technique]]></category>
		<category><![CDATA[website review]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[latitude]]></category>
		<category><![CDATA[longitude]]></category>

		<guid isPermaLink="false">http://www.bageshsingh.com/bagesh-blog/?p=462</guid>
		<description><![CDATA[At last I found hostip.info provides a service for getting the latitude and longitude of a place on the basis of the user Posts Related to Mapping The IP Address to Latitude and Longitude In Google MapsUK Postcodes Complete Database Table – Import and Enjoy1. Download this file and import it into your database. Postcodes.txt [...]]]></description>
			<content:encoded><![CDATA[<p>At last I found <strong>hostip.info</strong> provides a service for  getting the latitude and longitude of a place on the basis of the user</p>
<div id="seo_alrp_related"><h2>Posts Related to Mapping The IP Address to Latitude and Longitude In Google Maps</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2011/08/uk-postcodes-complete-database-table-%e2%80%93-import-and-enjoy/" rel="bookmark">UK Postcodes Complete Database Table – Import and Enjoy</a></h3><p>1. Download this file and import it into your database. Postcodes.txt 2. Rename Postcode.txt to Postcode.sql 3. Import to your database and enjoy complete list ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2010/04/tabbed-infowindow-in-google-maps/" rel="bookmark">Tabbed Infowindow in Google Maps</a></h3><p>I wanted to show different categories of information on one GMarker. That is I wanted to show different types of information on a Infowindow for ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2011/01/zend-framework-course-training-in-delhi/" rel="bookmark">Zend Framework Course &#038; Training in delhi</a></h3><p>The Zend Framework Course: Fundamentals course is designed for experienced PHP programmers who want to learn to combine Zend Framework concepts and structural elements to ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2010/04/google-wave/" rel="bookmark">Google Wave ???????</a></h3><p>Google Wave, what is it? I have recently received an invitation to use Google Wave, in which some "social networking experts" think it is going ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2011/07/google-is-rolling-out-social-search-globally/" rel="bookmark">Google is rolling out Social Search globally</a></h3><p>Google is rolling out Social Search globally as it was announced in the Google Social Web Blog. Social Search was first introduced on Google.com back ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.bageshsingh.com/bagesh-blog/2010/04/mapping-the-ip-address-to-latitude-and-longitude-in-google-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tabbed Infowindow in Google Maps</title>
		<link>http://www.bageshsingh.com/bagesh-blog/2010/04/tabbed-infowindow-in-google-maps/</link>
		<comments>http://www.bageshsingh.com/bagesh-blog/2010/04/tabbed-infowindow-in-google-maps/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 13:50:57 +0000</pubDate>
		<dc:creator>Bagesh Singh</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[Others]]></category>
		<category><![CDATA[tips and technique]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[latitude]]></category>
		<category><![CDATA[longitude]]></category>

		<guid isPermaLink="false">http://www.bageshsingh.com/bagesh-blog/?p=460</guid>
		<description><![CDATA[I wanted to show different categories of information on one GMarker. That is I wanted to show different types of information on a Infowindow for a point on Google Maps. For that I used a tabbed info window, which helped me to show different data on each tabs. Here is the code of what I [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to show different categories of information on one GMarker.  That is I wanted to show different types of information on a Infowindow  for a point on Google Maps. For that I used a tabbed info window, which  helped me to show different data on each tabs. Here is the code of what I  have done. I have shown the latitude and longitude of a placed clicked  on the map on the tabbed info window. This is just the script part. The  demo and download links are given below.</p>
<div id="highlighter_92575">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>01</code></td>
<td><code>&lt;script type=</code><code>"text/javascript"</code><code>&gt;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>02</code></td>
<td><code> </code><code>var</code> <code>iconBlue = </code><code>new</code> <code>GIcon();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>03</code></td>
<td><code> </code><code>iconBlue.image = </code><code>'<a href="http://labs.google.com/ridefinder/images/mm_20_blue.png">http://labs.google.com/ridefinder/images/mm_20_blue.png</a>'</code><code>;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>04</code></td>
<td><code> </code><code>iconBlue.shadow = </code><code>'<a href="http://labs.google.com/ridefinder/images/mm_20_shadow.png">http://labs.google.com/ridefinder/images/mm_20_shadow.png</a>'</code><code>;</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>05</code></td>
<td><code> </code><code>iconBlue.iconSize = </code><code>new</code> <code>GSize(12, 20);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>06</code></td>
<td><code> </code><code>iconBlue.shadowSize = </code><code>new</code> <code>GSize(22, 20);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>07</code></td>
<td><code> </code><code>iconBlue.iconAnchor = </code><code>new</code> <code>GPoint(6, 20);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>08</code></td>
<td><code> </code><code>iconBlue.infoWindowAnchor = </code><code>new</code> <code>GPoint(5, 1);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>09</code></td>
<td><code> </code><code>var</code> <code>point = </code><code>new</code> <code>GLatLng(26.88157422515243,  86.30859375);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>10</code></td>
<td><code> </code><code>function</code> <code>load() {</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>11</code></td>
<td><code> </code><code>if</code> <code>(GBrowserIsCompatible())  {</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>12</code></td>
<td><code> </code><code>var</code> <code>map = </code><code>new</code> <code>GMap2(document.getElementById(</code><code>"map"</code><code>));</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>13</code></td>
<td><code> </code><code>map.setCenter(point,3);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>14</code></td>
<td><code> </code><code>GEvent.addListener(map, </code><code>'click'</code><code>, </code><code>function</code><code>(overlay,  point) {</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>15</code></td>
<td><code> </code><code>var</code> <code>lati=point.lat();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>16</code></td>
<td><code> </code><code>var</code> <code>long=point.lng();</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>17</code></td>
<td><code> </code><code>var</code> <code>marker= </code><code>new</code> <code>GMarker(</code><code>new</code> <code>GLatLng(lati,  long),{draggable: </code><code>false</code><code>});</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>18</code></td>
<td><code> </code><code>map.addOverlay(marker);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>19</code></td>
<td><code> </code><code>var</code> <code>infoTabs =  [ </code><code>new</code> <code>GInfoWindowTab(</code><code>"Lat-Tab"</code><code>, </code><code>"&lt;h1&gt;  Latitude:&lt;/h1&gt;&lt;br /&gt;"</code><code>+lati), </code><code>new</code> <code>GInfoWindowTab(</code><code>"Long-Tab"</code><code>, </code><code>"&lt;h1&gt;Longitude&lt;/h1&gt;&lt;br  /&gt;"</code><code>+long)];</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>20</code></td>
<td><code> </code><code>marker.openInfoWindowTabsHtml(infoTabs);</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>21</code></td>
<td><code> </code><code>});</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>22</code></td>
<td><code> </code><code>}</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>23</code></td>
<td><code> </code><code>}</code></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><code>24</code></td>
<td><code> </code><code>&lt;/script&gt;</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Lets focus on the <strong>#17-#26</strong> Lines of codes. Other  Lines are already described on other posts. Please see the related post  link below the post.<br />
<strong>#17:</strong> Creates a GMarker on the point where clicked on  the Map.<br />
<strong>#18:</strong> Addes the GMarker over the Map.<br />
<strong>#19:</strong> Initiates an array of tabs<strong>infoTabs </strong> with <strong>GInfoWindowTab </strong> function with <strong>tabname</strong> and its <strong>innerHTML</strong> as parameters.<br />
<strong>#20:</strong> Opens the infowindow calling <strong>openInfoWindowTabsHtml</strong> function and the array of tabs as parameters.</p>
<p><a href="http://subeshexamples.googlecode.com/files/tabinfo.html"><strong>[Download]</strong></a></p>
<div id="seo_alrp_related"><h2>Posts Related to Tabbed Infowindow in Google Maps</h2><ul><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2010/04/mapping-the-ip-address-to-latitude-and-longitude-in-google-maps/" rel="bookmark">Mapping The IP Address to Latitude and Longitude In Google Maps</a></h3><p>At last I found hostip.info provides a service for getting the latitude and longitude of a place on the basis of the user</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2010/04/google-and-yahoo-seo-tool/" rel="bookmark">google and yahoo seo tool</a></h3><p>An interesting tool that compares the first 100 search results between the two search engines. You can enter a search term and look at the ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2011/07/jquery-dialog-box-tutorial/" rel="bookmark">jQuery Dialog Box Tutorial</a></h3><p>Recently on a coding project for my day job I had a requirement to display a dialog box to confirm that when someone clicked a ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2010/11/getting-country-city-name-from-ip-address-in-php-3/" rel="bookmark">Getting country , city name from IP address in PHP</a></h3><p>esterday, miaki asked me how can we get the country name from the IP address in PHP. Today, I’ve come up with the answer of ...</p></div></li><li><div class="seo_alrp_rl_content"><h3><a href="http://www.bageshsingh.com/bagesh-blog/2010/11/top-floating-message-box-using-jquery-2/" rel="bookmark">Top Floating message box using jQuery</a></h3><p>I’ve shown you how to create a alert box using jQuery. This time, I’ve come up with another tutorial to show you how to display ...</p></div></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.bageshsingh.com/bagesh-blog/2010/04/tabbed-infowindow-in-google-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

