<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Clickable LabeledMarker</title>
	<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/</link>
	<description>with PHP or Rails and AJAX: From Novice to Professional</description>
	<pubDate>Sun, 06 Jul 2008 15:59:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Ruud</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-52412</link>
		<dc:creator>Ruud</dc:creator>
		<pubDate>Sat, 14 Jun 2008 16:10:15 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-52412</guid>
		<description>Hello,

I'm using also this script for an school case which you can see here: http://webkrant.redje.net

Sorry for this noob question but how do i set the map view on hybrid mode standard? I'll tried some methods but no result at all...

tnx in advance!</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;m using also this script for an school case which you can see here: <a href="http://webkrant.redje.net" rel="nofollow">http://webkrant.redje.net</a></p>
<p>Sorry for this noob question but how do i set the map view on hybrid mode standard? I&#8217;ll tried some methods but no result at all&#8230;</p>
<p>tnx in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51187</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 10 Jun 2008 19:29:20 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51187</guid>
		<description>Hi again, 

please ignore the last question (I just read a response in this thread that answers it). 

thanks.</description>
		<content:encoded><![CDATA[<p>Hi again, </p>
<p>please ignore the last question (I just read a response in this thread that answers it). </p>
<p>thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51186</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 10 Jun 2008 19:23:54 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51186</guid>
		<description>Hi Mike, 

Thanks for the speedy response!  That worked, know I'm able to load my markers using GXmlHttp.  I had one follow up question.  For awhile I thought it might be a bug with my code, but then I tried confirming it with the Manhattan sample you have linked to the article, and it appears to be true.  GIcons do not appear at a zoom level less than 11 (in other words if I set the start zoom level of the map at 10 or less, the icons do not appear).  If I zoom into the map, as soon as I hit a zoom level of 11, they appear.  Is there a reason for this.  My data points are fairly spread out geographically and there is no way to see them all unless you zoom it.  

Other than that, everything seems to work perfectly.</description>
		<content:encoded><![CDATA[<p>Hi Mike, </p>
<p>Thanks for the speedy response!  That worked, know I&#8217;m able to load my markers using GXmlHttp.  I had one follow up question.  For awhile I thought it might be a bug with my code, but then I tried confirming it with the Manhattan sample you have linked to the article, and it appears to be true.  GIcons do not appear at a zoom level less than 11 (in other words if I set the start zoom level of the map at 10 or less, the icons do not appear).  If I zoom into the map, as soon as I hit a zoom level of 11, they appear.  Is there a reason for this.  My data points are fairly spread out geographically and there is no way to see them all unless you zoom it.  </p>
<p>Other than that, everything seems to work perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Purvis</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51133</link>
		<dc:creator>Mike Purvis</dc:creator>
		<pubDate>Tue, 10 Jun 2008 14:32:38 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51133</guid>
		<description>Peter: The square brackets create an array, the braces create an object.
Equivalent code would be like so:

var markers = new Array();

var myMarker = new Object();
myMarker.abbr = "LES";
myMarker.name = "Lower East Side";
// etc.

marker.push(myMarker);</description>
		<content:encoded><![CDATA[<p>Peter: The square brackets create an array, the braces create an object.<br />
Equivalent code would be like so:</p>
<p>var markers = new Array();</p>
<p>var myMarker = new Object();<br />
myMarker.abbr = &#8220;LES&#8221;;<br />
myMarker.name = &#8220;Lower East Side&#8221;;<br />
// etc.</p>
<p>marker.push(myMarker);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51127</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 10 Jun 2008 14:08:03 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-51127</guid>
		<description>Hi, 

Question about the map_data.php file.  I'm having a tough time trying to create that data structure to feed into the api from a database because I have no idea what this is in javascript: 

var markers = [
        {
                'abbr': 'LES',
                'name': 'Lower East Side',
                'latitude':40.714737,
                'longitude':-73.986912,
                'wp':'http://en.wikipedia.org/wiki/Lower_East_Side%2C_Manhattan'
        },
        {
                'abbr': 'EV',
                'name': 'East Village',
              ......etc. 

Is that a short hand method for creating an area, or an object?  I have successfully retrieved my points data from php/mysql using GXmlHttp (and I've iterated through the structure and it's all there).  My question is how do I recreate the above structure in a for loop in javascript once the data has been retrieved.  I tried creating an array and pushing elements on it but I don't think that is the same data structure as above.  Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>Question about the map_data.php file.  I&#8217;m having a tough time trying to create that data structure to feed into the api from a database because I have no idea what this is in javascript: </p>
<p>var markers = [<br />
        {<br />
                &#8216;abbr&#8217;: &#8216;LES&#8217;,<br />
                &#8216;name&#8217;: &#8216;Lower East Side&#8217;,<br />
                &#8216;latitude&#8217;:40.714737,<br />
                &#8216;longitude&#8217;:-73.986912,<br />
                &#8216;wp&#8217;:'http://en.wikipedia.org/wiki/Lower_East_Side%2C_Manhattan&#8217;<br />
        },<br />
        {<br />
                &#8216;abbr&#8217;: &#8216;EV&#8217;,<br />
                &#8216;name&#8217;: &#8216;East Village&#8217;,<br />
              &#8230;&#8230;etc. </p>
<p>Is that a short hand method for creating an area, or an object?  I have successfully retrieved my points data from php/mysql using GXmlHttp (and I&#8217;ve iterated through the structure and it&#8217;s all there).  My question is how do I recreate the above structure in a for loop in javascript once the data has been retrieved.  I tried creating an array and pushing elements on it but I don&#8217;t think that is the same data structure as above.  Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swapnil</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-41400</link>
		<dc:creator>Swapnil</dc:creator>
		<pubDate>Wed, 14 May 2008 05:41:42 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-41400</guid>
		<description>Hello 

This is really a very helpful article I am finding exactly what you have mentioned. 
Only Thing I want to ask you that I want to show User the Points on Map which will guide him the points visited Now I just want to give that particular points naming that is sequence like 1,2,3,4,5.............. as per they have been visited.

Using this article I think I can do it But the problem is The Opts You have mentioned one time that Opts can I reinitailize in array depending upon the Number of positions I am having I hope you have got my point .

Please reply if you can as its been urgent to me.

thanks &#38; takecare

Swapnil S</description>
		<content:encoded><![CDATA[<p>Hello </p>
<p>This is really a very helpful article I am finding exactly what you have mentioned.<br />
Only Thing I want to ask you that I want to show User the Points on Map which will guide him the points visited Now I just want to give that particular points naming that is sequence like 1,2,3,4,5&#8230;&#8230;&#8230;&#8230;.. as per they have been visited.</p>
<p>Using this article I think I can do it But the problem is The Opts You have mentioned one time that Opts can I reinitailize in array depending upon the Number of positions I am having I hope you have got my point .</p>
<p>Please reply if you can as its been urgent to me.</p>
<p>thanks &amp; takecare</p>
<p>Swapnil S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-33636</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Mon, 14 Apr 2008 15:36:28 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-33636</guid>
		<description>Thanks for the code. Not immediately sure why you disable dragging. Besides modifying the constructor, the only other change I had to make was to change one line in the redraw function to:
var p = this.map.fromLatLngToDivPixel(this.getPoint());
(latlng changed to getPoint())</description>
		<content:encoded><![CDATA[<p>Thanks for the code. Not immediately sure why you disable dragging. Besides modifying the constructor, the only other change I had to make was to change one line in the redraw function to:<br />
var p = this.map.fromLatLngToDivPixel(this.getPoint());<br />
(latlng changed to getPoint())</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-20217</link>
		<dc:creator>Charles</dc:creator>
		<pubDate>Thu, 17 Jan 2008 23:21:11 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-20217</guid>
		<description>Hi Mike,

Just a quick follow up on my question about change the z-index of a live marker. In the end I had to create a array of live markers and manually remove and re-add a marker every time i needed to change its z-index. It works quite well, and after many months the site is pretty much done!

Check it out at http://www.thebandbdirectory.co.uk

Thanks for the help!

Charles.</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>Just a quick follow up on my question about change the z-index of a live marker. In the end I had to create a array of live markers and manually remove and re-add a marker every time i needed to change its z-index. It works quite well, and after many months the site is pretty much done!</p>
<p>Check it out at <a href="http://www.thebandbdirectory.co.uk" rel="nofollow">http://www.thebandbdirectory.co.uk</a></p>
<p>Thanks for the help!</p>
<p>Charles.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Purvis</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-16176</link>
		<dc:creator>Mike Purvis</dc:creator>
		<pubDate>Tue, 20 Nov 2007 01:14:54 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-16176</guid>
		<description>Karstyn: I haven't tried it myself, but I have a report that it works fine.
Please be sure to use the official version here:

http://code.google.com/p/gmaps-utility-library/

Charles: There isn't really any shortcut for how to do this... your safest bet
is probably to access the marker's icon url directly, and add a second
copy of it, with the z-index set appropriately. So basically, do:

var icon_url = my_marker.getIcon().image;

And then add a new  element to the G_MAP_MARKER_PANE, with the
css zIndex set to some extremely high value. Find the position using
this function:

var position = map.getProjection().fromLatLngToPixel(my_marker.getLatLng(),
map.getZoom());</description>
		<content:encoded><![CDATA[<p>Karstyn: I haven&#8217;t tried it myself, but I have a report that it works fine.<br />
Please be sure to use the official version here:</p>
<p><a href="http://code.google.com/p/gmaps-utility-library/" rel="nofollow">http://code.google.com/p/gmaps-utility-library/</a></p>
<p>Charles: There isn&#8217;t really any shortcut for how to do this&#8230; your safest bet<br />
is probably to access the marker&#8217;s icon url directly, and add a second<br />
copy of it, with the z-index set appropriately. So basically, do:</p>
<p>var icon_url = my_marker.getIcon().image;</p>
<p>And then add a new  element to the G_MAP_MARKER_PANE, with the<br />
css zIndex set to some extremely high value. Find the position using<br />
this function:</p>
<p>var position = map.getProjection().fromLatLngToPixel(my_marker.getLatLng(),<br />
map.getZoom());</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karstyn</title>
		<link>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-16172</link>
		<dc:creator>Karstyn</dc:creator>
		<pubDate>Tue, 20 Nov 2007 00:07:16 +0000</pubDate>
		<guid>http://googlemapsbook.com/2007/03/06/clickable-labeledmarker/#comment-16172</guid>
		<description>I had this working on both Mac and Win, and still works on Win, but on a system that was just upgraded to OSX Leopard the maps will not load. Have you heard of any problems with Safari 3?</description>
		<content:encoded><![CDATA[<p>I had this working on both Mac and Win, and still works on Win, but on a system that was just upgraded to OSX Leopard the maps will not load. Have you heard of any problems with Safari 3?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
