<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Modificare puntini in Google Maps]]></title><description><![CDATA[<p dir="auto">Salve ragazzi, vorrei modificare il segnaposto dello script inserendo al posto del pallino rosso un immagine personalizzata, solo che cercando nella rete non sto riuscendo a trovare la soluzione giusta.<br />
Posto il codice attuale.</p>
<p dir="auto">&lt;script type="text/javascript"&gt;<br />
//&lt;![CDATA[<br />
function load() {<br />
if (GBrowserIsCompatible()) {<br />
var map = new GMap2(document.getElementById("map"));<br />
map.setUIToDefault();<br />
<a href="//map.addControl" rel="nofollow ugc">//map.addControl</a>(new GSmallMapControl());<br />
map.addControl(new GMapTypeControl());<br />
/<em>zoom box, in basso a dx</em>/<br />
map.addControl(new GOverviewMapControl(),<br />
new GControlPosition(G_ANCHOR_BOTTOM_RIGHT, new GSize(9, 9)));<br />
map.setCenter(new GLatLng(39.66666,18.1888595), 13);<br />
var infoTabs = [<br />
new GInfoWindowTab("Descrizione", "Bla bla bla bla bla."),<br />
new GInfoWindowTab("Info", "chiama ...............")<br />
];</p>
<p dir="auto">// Place a marker in the center of the map and open the info window<br />
// automatically<br />
var marker = new GMarker(map.getCenter());<br />
GEvent.addListener(marker, "click", function() {<br />
marker.openInfoWindowTabsHtml(infoTabs);<br />
});<br />
map.addOverlay(marker);<br />
marker.openInfoWindowTabsHtml(infoTabs);<br />
}<br />
}</p>
<pre><code>  //]]&gt;
  &lt;/script&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/topic/101876/modificare-puntini-in-google-maps</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 23:57:48 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/101876.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 May 2009 18:19:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Modificare puntini in Google Maps on Thu, 21 May 2009 10:32:31 GMT]]></title><description><![CDATA[<p dir="auto">Grazie!!</p>
]]></description><link>https://dev.connect.gt/post/832191</link><guid isPermaLink="true">https://dev.connect.gt/post/832191</guid><dc:creator><![CDATA[colvi]]></dc:creator><pubDate>Thu, 21 May 2009 10:32:31 GMT</pubDate></item><item><title><![CDATA[Reply to Modificare puntini in Google Maps on Thu, 21 May 2009 09:16:54 GMT]]></title><description><![CDATA[<p dir="auto">Lo devi sostituire a questo punto:</p>
<pre><code>// Place a marker in the center of the map and open the info window
  // automatically
  var marker = new GMarker(map.getCenter());
</code></pre>
]]></description><link>https://dev.connect.gt/post/832188</link><guid isPermaLink="true">https://dev.connect.gt/post/832188</guid><dc:creator><![CDATA[sups]]></dc:creator><pubDate>Thu, 21 May 2009 09:16:54 GMT</pubDate></item><item><title><![CDATA[Reply to Modificare puntini in Google Maps on Thu, 21 May 2009 09:09:39 GMT]]></title><description><![CDATA[<p dir="auto">Scusami per aver sbagliato sezione :x, vorrei chederti ma il codice da te postato dove va messo?</p>
<p dir="auto">Grazie ancora.</p>
]]></description><link>https://dev.connect.gt/post/832189</link><guid isPermaLink="true">https://dev.connect.gt/post/832189</guid><dc:creator><![CDATA[colvi]]></dc:creator><pubDate>Thu, 21 May 2009 09:09:39 GMT</pubDate></item><item><title><![CDATA[Reply to Modificare puntini in Google Maps on Thu, 21 May 2009 07:37:48 GMT]]></title><description><![CDATA[<p dir="auto">Questa è la sezione PHP, mentre le google map api sono sviluppate in JavaScript.<br />
Comunque, per applicare un'icona personalizzata devi fare questa modifica al codice:</p>
<pre><code>var icona = new GIcon();
icona.image = "images/icona.gif";
icona.shadow = "images/ombra.gif";
icona.iconSize = new GSize(16, 16);
icona.shadowSize = new GSize(18, 18);
icona.iconAnchor = new GPoint(8, 8);
icona.infoWindowAnchor = new GPoint(8, 1);
            
var marker = new GMarker(map.getCenter(), {icon:icona});
</code></pre>
<p dir="auto">Ciao!</p>
]]></description><link>https://dev.connect.gt/post/832186</link><guid isPermaLink="true">https://dev.connect.gt/post/832186</guid><dc:creator><![CDATA[sups]]></dc:creator><pubDate>Thu, 21 May 2009 07:37:48 GMT</pubDate></item></channel></rss>