I've put the Url to the page in the message, anyway it's:

http://www.peixma.com/contacto2.html

If you want the javascript code is:

<script 
src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=true_or_false&amp;key=ABQIAAAAObnDlg_DyBMGLwSENkAPrxRnQ4WsqRJOxkHnzYx3g4Fwu_cYlxQ7H50dqbCLxndMHL-Vn2tYDfGnhw";
type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (GBrowserIsCompatible()) {
        var map = new GMap(document.getElementById("map_canvas"));
                
        //Añade control de zoom y dirección al mapa
        map.addControl(new GSmallMapControl());
                
        //Añadir marcador de situación
        map.setCenter(new GLatLng(38.964480,1.399211), 16);
        //map.addOverlay(new GMarker(new GPoint(38.96448094385601,
1.3992118835449219)));
        
        var marker = new GMarker(new GPoint(38.96448094385601, 
1.3992118835449219));
        
        //Añadimos el marker al mapa y ponemos un bocadillo de info
        map.addOverlay(marker);
        marker.openInfoWindowHtml("<font size=\"1\" face=\"Verdana, Arial,
Helvetica, sans-serif\"><b>Peixma</b><br/>Can Manyans, 33 (Polígono
Montecristo) - 07816 Sant Rafael<br>Telf. 971 316 885</font>");
        
        //Le añadimos al marker un evento; que salga un bocadillo con texto
al hacer click sobre él
        GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml("<font size=\"1\" face=\"Verdana, Arial,
Helvetica, sans-serif\"><b>Peixma</b><br/>Can Manyans, 33 (Polígono
Montecristo) - 07816 Sant Rafael<br>Telf. 971 316 885</font>");
}
//]]>
</script>


I know that the load function is missing, I've been doing a lot of tryings.

Thanks

2009/4/5 Rossko <[email protected]>

>
> > WHy does browser overload while loading overlays of polyline
> > massively ??
>
> There are a lot of calculations to do to place the lines on the map.
> They are not just 'lines', the API creates javascript objects for
> each, which allows click actions, redrawing on zooms, editing,
> extracting location, etc etc.
>
> > Does the number or type of overlays affect running speed of the
> > browser??
>
> Yes.
> There are alternative ways of showing many polys, search this group -
>
> http://groups.google.com/group/Google-Maps-API/search?group=Google-Maps-API&q=many+polys
>
> > Or my ajax isn't properly utilized? Or other causes??
>
> How could we know that without seeing your webpage
>
> cheers, Ross K
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to