<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : Google Maps Example</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : C# &amp; ASP.NET : Google Maps Example</description>
  <pubDate>Wed, 29 Apr 2026 02:00:01 +0000</pubDate>
  <lastBuildDate>Sun, 19 Apr 2015 10:07:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=2780</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>Google Maps Example : Google Maps Kullan&#305;m &#214;rne&#287;i (Koordinat...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=2780&amp;PID=5621#5621</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=1" rel="nofollow">murat turan</a><br /><strong>Konu:</strong> 2780<br /><strong>Gönderim Zamanı:</strong> 19.Nisan.2015 Saat 10:07<br /><br /><div><b>Google Maps Kullanım Örneği (Koordinat bulma ve Belirli bir alanın çizilerek belirtilmesi)</b></div><div><br></div><div><br></div><div>&lt;!DOCTYPE html&gt;</div><div>&lt;html&gt;</div><div>&nbsp; &lt;head&gt;</div><div>&nbsp; &nbsp; &lt;title&gt;Liman Map&lt;/title&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;meta name="viewport" content="initial-scale=1.0, user-scalable=no"&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;meta charset="utf-8"&gt;</div><div>&nbsp; &nbsp; &lt;style&gt;</div><div>&nbsp; &nbsp; &nbsp; html, body, #map-canvas {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; height: 100%;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; margin: 0px;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; padding: 0px</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &lt;/style&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;script src="https://maps.googleapis.com/maps/api/js?v=3.exp"&gt;&lt;/script&gt;</div><div><br></div><div>&nbsp; &nbsp; &lt;script&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // help</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // https://developers.google.com/maps/documentation/javascript/examples/polygon-arrays</div><div>&nbsp; &nbsp; &nbsp; &nbsp; // https://developers.google.com/maps/documentation/javascript/maptypes</div><div>&nbsp; &nbsp; &nbsp; &nbsp; //</div><div>&nbsp; &nbsp; &nbsp; &nbsp; var map;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; var xpoins = &#091;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.010731, 39.768925),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.006469, 39.761147),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.004031, 39.758264),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.012083, 39.762886),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.0084, 39.756206),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.005319, 39.755806),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.005328, 39.75),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.012475, 39.746764),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.012772, 39.740344),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.009444, 39.738056),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.006833, 39.738906),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.004142, 39.741275),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;new google.maps.LatLng(41.001003, 39.757106)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &#093;;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; function initialize() {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var mapOptions = {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; zoom: 8,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; center: new google.maps.LatLng(41.010731, 39.768925)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; map = new google.maps.Map(document.getElementById('map-canvas'),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mapOptions);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; google.maps.event.addDomListener(window, 'load', initialize);</div><div><br></div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; function showCoordinates() {</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for (var i = 0; i &lt; xpoins.length; i++) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var info1 = new google.maps.InfoWindow({ map: map, position: xpoins<em>, content: 'D' + (i + 1) });</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; map.setCenter(xpoins<em>);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; map.setZoom(15);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; map.setMapTypeId(google.maps.MapTypeId.SATELLITE);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; function DrawPolygon() {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var bermudaTriangle = new google.maps.Polygon({</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; paths: xpoins,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strokeColor: '#FF0000',</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strokeOpacity: 0.8,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strokeWeight: 3,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fillColor: '#FF0000',</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fillOpacity: 0.35</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bermudaTriangle.setMap(map);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; &lt;/script&gt;</div><div>&nbsp; &lt;/head&gt;</div><div>&nbsp; &lt;body&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;div&gt;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type="button" id="Button1" name="Button1" value="Show" onclick="showCoordinates();" /&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type="button" id="Button2" name="Button2" value="Draw" onclick="DrawPolygon();" /&gt;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &lt;/div&gt;&lt;br /&gt;</div><div>&nbsp; &nbsp; &lt;div id="map-canvas"&gt;&lt;/div&gt;</div><div>&nbsp; &lt;/body&gt;</div><div>&lt;/html&gt;</div>]]>
   </description>
   <pubDate>Sun, 19 Apr 2015 10:07:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=2780&amp;PID=5621#5621</guid>
  </item> 
 </channel>
</rss>