-First here's my page(ajax won't work btw cuz it's a copy of my real
page)
http://devshed.destination.ca/php-bin/google/kml/google.php
-Secondly
Search at the very end of my code for this part of the code:
if(visible.length > 0){
//map.setCenter(new GLatLng(47.212754, -70.815223), 7);
// ...let's show the layer
for(x=0; x < visible.length; x++){
map.addOverlay(layer[x]);
}
}
// If no coordinates are found...
if(invisible.length > 0){
//map.setCenter(new GLatLng(47.212754, -70.815223), 7);
// ...let's hide the layer
for(x=0; x < invisible.length; x++){
map.removeOverlay(layer[x]);
}
}
map.addOverlay(layer[x]); and map.removeOverlay(layer[x]); don't work
and pop me the following error...
Firebug a atteint sa limite d'enregistrements. %S entrées ne sont pas
montrées. Préférences
a is undefined
[Break on this error] l=Wc.prototype;l.ra=function(a,b){var c=...ve
();mk(a);A(this,"removeoverlay",a)}};\nmain.js (ligne 771)
a is undefined
[Break on this error] l.ea=function(a,b){var c=this.Co[a.Ia?a....(e)}
this.ox(a)}A(this,"addoverlay",a)};\n
Any help with this would be really appreciated!
Thank you.
--
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.