<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Tutorial Google maps ใช้รูปภาพแทนหมุด (Custom Marker Icon)</title>
	<atom:link href="http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/</link>
	<description>Random Thoughts on Random Things by Tanomsak</description>
	<lastBuildDate>Fri, 27 Jan 2012 11:33:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: High_tactic</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-366</link>
		<dc:creator>High_tactic</dc:creator>
		<pubDate>Wed, 18 May 2011 12:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-366</guid>
		<description> รบกวนถามหน่อยนะครับบบ


Google Maps By Olo_WaNtfunction initialize() {var map = new GMap2(document.getElementById(&quot;map_canvas&quot;));//ใส่ค่าละติจูด , ลองติจูด , ระยะการซูมmap.setCenter(new GLatLng(14.077817097589845, 100.60328722000122), 11);map.setUIToDefault();map.addControl(new GSmallMapControl());map.addControl(new GMapTypeControl());// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon(G_DEFAULT_ICON);baseIcon.shadow = &quot;http://www.google.com/mapfiles/shadow50.png&quot;;baseIcon.iconSize = new GSize(20, 34);baseIcon.shadowSize = new GSize(37, 34);baseIcon.iconAnchor = new GPoint(9, 34);baseIcon.infoWindowAnchor = new GPoint(9, 2);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(point, index) {  // Create a lettered icon for this point using our icon class  var letter = String.fromCharCode(&quot;A&quot;.charCodeAt(0) + index);  var letteredIcon = new GIcon(baseIcon);  letteredIcon.image = &quot;http://www.google.com/mapfiles/marker&quot; + letter + &quot;.png&quot;;  // Set up our GMarkerOptions object  markerOptions = { icon:letteredIcon };  var marker = new GMarker(point, markerOptions);  GEvent.addListener(marker, &quot;click&quot;, function() {    marker.openInfoWindowHtml(&quot;Marker &lt;b&gt;&quot; + letter + &quot;&lt;/b&gt;&quot;);  });  return marker;}// Add 10 markers to the map at random locationsvar bounds = map.getBounds();var southWest = bounds.getSouthWest();var northEast = bounds.getNorthEast();var lngSpan = northEast.lng() - southWest.lng();var latSpan = northEast.lat() - southWest.lat();for (var i = 0; i &lt; 10; i++) {  var point = new GLatLng(southWest.lat() + latSpan * Math.random(),                          southWest.lng() + lngSpan * Math.random());  map.addOverlay(createMarker(point, i));}}คือจากโค้ดนีนะครับมันสามารถสร้างมาร์กเกอร์ได้ แต่ผมต้องการที่จะกำหนดไปเลยว่ามาร์กเกอร์ตัวนี้ให้จุดนี้ๆๆ ผมต้องแก้อย่างไรครับ ขอบคุณล่วงหน้าครับ</description>
		<content:encoded><![CDATA[<p> รบกวนถามหน่อยนะครับบบ</p>
<p>Google Maps By Olo_WaNtfunction initialize() {var map = new GMap2(document.getElementById(&#8220;map_canvas&#8221;));//ใส่ค่าละติจูด , ลองติจูด , ระยะการซูมmap.setCenter(new GLatLng(14.077817097589845, 100.60328722000122), 11);map.setUIToDefault();map.addControl(new GSmallMapControl());map.addControl(new GMapTypeControl());// Create a base icon for all of our markers that specifies the// shadow, icon dimensions, etc.var baseIcon = new GIcon(G_DEFAULT_ICON);baseIcon.shadow = &#8220;http://www.google.com/mapfiles/shadow50.png&#8221;;baseIcon.iconSize = new GSize(20, 34);baseIcon.shadowSize = new GSize(37, 34);baseIcon.iconAnchor = new GPoint(9, 34);baseIcon.infoWindowAnchor = new GPoint(9, 2);// Creates a marker whose info window displays the letter corresponding// to the given index.function createMarker(point, index) {  // Create a lettered icon for this point using our icon class  var letter = String.fromCharCode(&#8220;A&#8221;.charCodeAt(0) + index);  var letteredIcon = new GIcon(baseIcon);  letteredIcon.image = &#8220;http://www.google.com/mapfiles/marker&#8221; + letter + &#8220;.png&#8221;;  // Set up our GMarkerOptions object  markerOptions = { icon:letteredIcon };  var marker = new GMarker(point, markerOptions);  GEvent.addListener(marker, &#8220;click&#8221;, function() {    marker.openInfoWindowHtml(&#8220;Marker <b>&#8221; + letter + &#8220;</b>&#8220;);  });  return marker;}// Add 10 markers to the map at random locationsvar bounds = map.getBounds();var southWest = bounds.getSouthWest();var northEast = bounds.getNorthEast();var lngSpan = northEast.lng() &#8211; southWest.lng();var latSpan = northEast.lat() &#8211; southWest.lat();for (var i = 0; i &lt; 10; i++) {  var point = new GLatLng(southWest.lat() + latSpan * Math.random(),                          southWest.lng() + lngSpan * Math.random());  map.addOverlay(createMarker(point, i));}}คือจากโค้ดนีนะครับมันสามารถสร้างมาร์กเกอร์ได้ แต่ผมต้องการที่จะกำหนดไปเลยว่ามาร์กเกอร์ตัวนี้ให้จุดนี้ๆๆ ผมต้องแก้อย่างไรครับ ขอบคุณล่วงหน้าครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanomsak</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-325</link>
		<dc:creator>tanomsak</dc:creator>
		<pubDate>Sat, 27 Nov 2010 08:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-325</guid>
		<description>ผมว่าไม่จำกัดนะครับ แต่ที่หายไปอาจจะเนื่องจาก script มันใช้ RAM เยอะมากจนหมดหน้าเวปมีปัญหาหรือเปล่าครับทดลองกับอะไรครับ IE หรือว่า Firefox, Chrome 

อีกอย่างถ้าจะแสดงหมุดเยอะๆ ลองใช้ AJAX แสดงเฉพาะที่อยู่ในแผนที่ที่เราเห็นจะเปลือง RAM น้อยกว่าครับ</description>
		<content:encoded><![CDATA[<p>ผมว่าไม่จำกัดนะครับ แต่ที่หายไปอาจจะเนื่องจาก script มันใช้ RAM เยอะมากจนหมดหน้าเวปมีปัญหาหรือเปล่าครับทดลองกับอะไรครับ IE หรือว่า Firefox, Chrome </p>
<p>อีกอย่างถ้าจะแสดงหมุดเยอะๆ ลองใช้ AJAX แสดงเฉพาะที่อยู่ในแผนที่ที่เราเห็นจะเปลือง RAM น้อยกว่าครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tongta Tongjai</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-324</link>
		<dc:creator>Tongta Tongjai</dc:creator>
		<pubDate>Sat, 27 Nov 2010 05:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-324</guid>
		<description>เวลาปักมุด ครั้งนึงบนแผนที่ได้กี่อันหรอครับ 

พอดีเอาไปใช้ แล้วเวลามานเกิน 50 อัน แผนที่มานหายไปเลยอะครับ 

อยู่ที่ api ด้วยหรือเปล่า ครับ เพราะใช้แบบ ฟรีอยู่</description>
		<content:encoded><![CDATA[<p>เวลาปักมุด ครั้งนึงบนแผนที่ได้กี่อันหรอครับ </p>
<p>พอดีเอาไปใช้ แล้วเวลามานเกิน 50 อัน แผนที่มานหายไปเลยอะครับ </p>
<p>อยู่ที่ api ด้วยหรือเปล่า ครับ เพราะใช้แบบ ฟรีอยู่</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanomsak</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-298</link>
		<dc:creator>tanomsak</dc:creator>
		<pubDate>Fri, 29 Oct 2010 07:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-298</guid>
		<description>เค้าเรียกว่า MarkerCluster ครับ ถ้าใช้ Google Maps API V3 ลองดูที่นี่ครับ &lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs&quot; rel=&quot;nofollow&quot;&gt;http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs&lt;/a&gt;/&lt;br&gt;</description>
		<content:encoded><![CDATA[<p>เค้าเรียกว่า MarkerCluster ครับ ถ้าใช้ Google Maps API V3 ลองดูที่นี่ครับ </p>
<p><a href="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs" rel="nofollow">http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs</a>/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ba_nana55</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-297</link>
		<dc:creator>Ba_nana55</dc:creator>
		<pubDate>Fri, 29 Oct 2010 07:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-297</guid>
		<description>ขอบคุณสำหรับความรู้ดีๆค่ะ&lt;br&gt;&lt;br&gt;พอดีเหนเว๊บๆ นึง &lt;a href=&quot;http://yoink.com&quot; rel=&quot;nofollow&quot;&gt;http://yoink.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;เขาใช้การรวม marker ว่าตำแหน่งนั้นๆ มีกี่จุด&lt;br&gt;&lt;br&gt;เลยอยากได้วิธีคิด และ วิธีทำอะค่ะ&lt;br&gt;&lt;br&gt;ยังงัยรบกวนช่วยดูให้ทีนะค่ะ ว่าพอจะมีวิธีทำหรือป่าว ขอบคุณค่ะ</description>
		<content:encoded><![CDATA[<p>ขอบคุณสำหรับความรู้ดีๆค่ะ</p>
<p>พอดีเหนเว๊บๆ นึง <a href="http://yoink.com" rel="nofollow">http://yoink.com</a></p>
<p>เขาใช้การรวม marker ว่าตำแหน่งนั้นๆ มีกี่จุด</p>
<p>เลยอยากได้วิธีคิด และ วิธีทำอะค่ะ</p>
<p>ยังงัยรบกวนช่วยดูให้ทีนะค่ะ ว่าพอจะมีวิธีทำหรือป่าว ขอบคุณค่ะ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanomsak</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-267</link>
		<dc:creator>tanomsak</dc:creator>
		<pubDate>Mon, 16 Aug 2010 06:09:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-267</guid>
		<description>ทำไม message เป็น Array ล่ะครับ ลองเปลี่ยนเป็น &lt;br&gt;&lt;br&gt;var message = &quot;abc&quot;; ดูไหมครับ&lt;br&gt;&lt;br&gt;หรือว่า เปลี่ยน var myHtml = message; =&gt; var myHtml = message[0];&lt;br&gt;&lt;br&gt;ขอแนะนำให้ใช้ Firefox + Firebug Add-on ครับ ช่วย Debug javascript ดีมากๆครับ</description>
		<content:encoded><![CDATA[<p>ทำไม message เป็น Array ล่ะครับ ลองเปลี่ยนเป็น </p>
<p>var message = &#8220;abc&#8221;; ดูไหมครับ</p>
<p>หรือว่า เปลี่ยน var myHtml = message; =&gt; var myHtml = message[0];</p>
<p>ขอแนะนำให้ใช้ Firefox + Firebug Add-on ครับ ช่วย Debug javascript ดีมากๆครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tibby</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-266</link>
		<dc:creator>tibby</dc:creator>
		<pubDate>Sun, 15 Aug 2010 22:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-266</guid>
		<description>อยากทราบว่า  &lt;br&gt;var message = [&quot;abc&quot;];&lt;br&gt;&lt;br&gt;ต้องเพิ่มตรงนี้ถึงจะกดได้&gt;&gt;&gt;&gt;&gt; mark.value = number;&lt;br&gt;&lt;br&gt;GEvent.addListener(marker,&quot;click&quot;, function() {&lt;br&gt;    var myHtml = message; &gt;&gt;&gt;&gt; แบบนี้กดไม่ได้ ต้องมี number + message; ถึงจะได้ค่ะ&lt;br&gt;    map.openInfoWindowHtml(latlng, myHtml);&lt;br&gt;    });&lt;br&gt;&lt;br&gt;แล้วกด marker ไม่ทำงานค่ะ นอกจากจะใช้ event-closure (คือ ส่ง random ส่งไปหลายค่าพร้อม number) จะกดได้ค่ะ&lt;br&gt;ขอบคุณมากค่ะ..</description>
		<content:encoded><![CDATA[<p>อยากทราบว่า  <br />var message = ["abc"];</p>
<p>ต้องเพิ่มตรงนี้ถึงจะกดได้&gt;&gt;&gt;&gt;&gt; mark.value = number;</p>
<p>GEvent.addListener(marker,&#8221;click&#8221;, function() {<br />    var myHtml = message; &gt;&gt;&gt;&gt; แบบนี้กดไม่ได้ ต้องมี number + message; ถึงจะได้ค่ะ<br />    map.openInfoWindowHtml(latlng, myHtml);<br />    });</p>
<p>แล้วกด marker ไม่ทำงานค่ะ นอกจากจะใช้ event-closure (คือ ส่ง random ส่งไปหลายค่าพร้อม number) จะกดได้ค่ะ<br />ขอบคุณมากค่ะ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ladda</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-230</link>
		<dc:creator>ladda</dc:creator>
		<pubDate>Thu, 22 Apr 2010 19:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-230</guid>
		<description>พวกโค้ดนี้คือ เราสามารถนำมาใช้ได้เลยใช่ไหมคะ หรือว่าเป็น โค้ดนี้ต้องใช้ร่วมกับ map ของ google เท่านั้นคะ</description>
		<content:encoded><![CDATA[<p>พวกโค้ดนี้คือ เราสามารถนำมาใช้ได้เลยใช่ไหมคะ หรือว่าเป็น โค้ดนี้ต้องใช้ร่วมกับ map ของ google เท่านั้นคะ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tanomsak</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-229</link>
		<dc:creator>tanomsak</dc:creator>
		<pubDate>Thu, 22 Apr 2010 10:04:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-229</guid>
		<description>ผมคิดว่าการเอาแผนที่จาก Google maps มาไว้ใน server เราน่าจะผิด Term of Service นะครับ ส่วนเรื่องการใช้ API ผมคิดว่าคงจะแก้เยอะเหมือนกันครับ</description>
		<content:encoded><![CDATA[<p>ผมคิดว่าการเอาแผนที่จาก Google maps มาไว้ใน server เราน่าจะผิด Term of Service นะครับ ส่วนเรื่องการใช้ API ผมคิดว่าคงจะแก้เยอะเหมือนกันครับ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pesadking</title>
		<link>http://www.tanomsak.com/index.php/2009/06/google-maps-customer-marker/comment-page-1/#comment-227</link>
		<dc:creator>pesadking</dc:creator>
		<pubDate>Wed, 21 Apr 2010 05:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.tanomsak.com/?p=163#comment-227</guid>
		<description>ขอบคุณมากคร้า</description>
		<content:encoded><![CDATA[<p>ขอบคุณมากคร้า</p>
]]></content:encoded>
	</item>
</channel>
</rss>

