<?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>Digitalquill - My Life and Times &#187; api</title> <atom:link href="http://www.matthouldsworth.com/tag/api/feed/" rel="self" type="application/rss+xml" /><link>http://www.matthouldsworth.com</link> <description>Affiliate Marketing, Wordpress Development, DIY and More</description> <lastBuildDate>Thu, 05 Jan 2012 20:53:35 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Allowing Users To Add Markers On Maps With Google Maps Api</title><link>http://www.matthouldsworth.com/2008/10/allowing-users-to-add-markers-on-maps-with-google-maps-api/</link> <comments>http://www.matthouldsworth.com/2008/10/allowing-users-to-add-markers-on-maps-with-google-maps-api/#comments</comments> <pubDate>Mon, 27 Oct 2008 20:05:44 +0000</pubDate> <dc:creator>Digitalquill</dc:creator> <category><![CDATA[Scripting]]></category> <category><![CDATA[api]]></category> <category><![CDATA[google maps]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[maps]]></category> <category><![CDATA[php]]></category> <guid
isPermaLink="false">http://www.matthouldsworth.com/?p=23</guid> <description><![CDATA[I have been working with Google Maps API to develop various things, so when a friends band asked for some help with an idea that involved allowinging visitors to their site to place markers on a map, I came up with this code: &#60;script type=”text/javascript”&#62; //&#60;![CDATA[ var map = new GMap(document.getElementById("map")); map.centerAndZoom(new GPoint(10.107421875,49.89463439573421), 14); map.addControl(new &#8230;</p><p><a
class="more-link block-button" href="http://www.matthouldsworth.com/2008/10/allowing-users-to-add-markers-on-maps-with-google-maps-api/">Continue reading &#187;</a> Related posts:<ol><li><a
href='http://www.matthouldsworth.com/2011/02/20-link-building-ideas/' rel='bookmark' title='20 Link Building Ideas'>20 Link Building Ideas</a> <small>I have been reading about link wheels where you create a wheel of web2.0 sites all linking to each other and all linking back to...</small></li><li><a
href='http://www.matthouldsworth.com/2011/07/google-page-rank-monitor-software/' rel='bookmark' title='Google Page Rank Monitor Software'>Google Page Rank Monitor Software</a> <small>About two years ago I wrote a script that would check the Google Page Rank of all my sites on a monthly basis and record that Page...</small></li></ol>]]></description> <content:encoded><![CDATA[<p>I have been working with Google Maps API to develop various things, so when a friends band asked for some help with an idea that involved allowinging visitors to their site to place markers on a map, I came up with this code:</p><p><code>&lt;script type=”text/javascript”&gt;<br
/> //&lt;![CDATA[</p><p>var map = new GMap(document.getElementById("map"));<br
/> map.centerAndZoom(new GPoint(10.107421875,49.89463439573421), 14);<br
/> map.addControl(new GSmallMapControl());<br
/> map.addControl(new GScaleControl());<br
/> GEvent.addListener(map, 'click', function(overlay, point) {</p><p>if (overlay) {<br
/> map.removeOverlay(overlay);<br
/></p><p>else if (point) {<br
/> map.recenterOrPanToLatLng(point);<br
/> var marker = new GMarker(point);<br
/> map.addOverlay(marker);<br
/></p><p>);</p><p>// Recenter Map and add Coords by clicking the map<br
/> GEvent.addListener(map, 'click', function(overlay, point) {<br
/> document.getElementById("latbox").value=point.y;<br
/> document.getElementById("lonbox").value=point.x;<br
/> );</p><p>// bind a search control to the map, suppress result list</p><p>map.addControl(new google.maps.LocalSearch(), new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(10,20)));<br
/> //]]&gt;</p><p>&lt;/script&gt;</p><p>&lt;form method="POST" action="script.php"&gt;<br
/> &lt;table&gt;<br
/> &lt;INPUT TYPE="hidden" ID="latbox" NAME="lat" value="" &gt;<br
/> &lt;INPUT TYPE="hidden" ID="lonbox" NAME="lon" value="" &gt;<br
/> &lt;input name="Submit" type="submit" value="Submit"&gt;<br
/> &lt;/form&gt;<br
/> </code><br
/> <a
rel="nofollow" href="http://www.matthouldsworth.com/goto/http://www.circusenvyband.com/travellingcd" >Take a look at Circus Envy Bands Traveling CD</a></p><p>Related posts:<ol><li><a
href='http://www.matthouldsworth.com/2011/02/20-link-building-ideas/' rel='bookmark' title='20 Link Building Ideas'>20 Link Building Ideas</a> <small>I have been reading about link wheels where you create a wheel of web2.0 sites all linking to each other and all linking back to...</small></li><li><a
href='http://www.matthouldsworth.com/2011/07/google-page-rank-monitor-software/' rel='bookmark' title='Google Page Rank Monitor Software'>Google Page Rank Monitor Software</a> <small>About two years ago I wrote a script that would check the Google Page Rank of all my sites on a monthly basis and record that Page...</small></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.matthouldsworth.com/2008/10/allowing-users-to-add-markers-on-maps-with-google-maps-api/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
