Hello,
Thanks for all the answers,
I solve my problem in this way
in the css file :
.messagechargement{
display : block;
height: 50px;
width: 50px;
margin-top: 235px;
margin-left:475px;
}
in the body :
<div id="overlaymessage" class="messagechargement"><img src="ajax-
loader.gif"></div>
in the load() script:
// hiking overlay message after loading map
google.maps.event.addListener(mymap,"idle", function(){
document.getElementById("overlaymessage").style.visibility='hidden';
document.getElementById("overlaymessage").style.display='none';
});
*********************************************************************************
On 29 juil, 10:04, Davide Cremonesi <
dvd....@gmail.com> wrote:
> I would also suggest to give an id to the loading DIV and use a listener to
> hide it when the map is loaded (via style settings (visibility/display) or a
> jslib like jQuery or Dojo).
> I think 'idle' is a good event, or maybe even 'tilesloaded' would do.
>
> google.maps.event.addListenerOnce(map, 'idle', function(){
> // hide or destroy the loading DIV
> });
>
> Hope it helps,
> Davide
>
> 2010/7/26 NWIPHPDEV <
djmeltd...@djmeltdown.com>
> >
google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2B
unsub...@googlegroups.com>
> > .
> > For more options, visit this group at
> >
http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -