Gmap3 - Forum

Gmap3 exchange platform

You are not logged in.

Ads
(server costs 27.50€ per month)


#1 2012-10-02 13:59:56

ludo2k
Member
Registered: 2012-10-02
Posts: 2

Waiting message when loading marker in cluster

Hello,

I use the cluster marker function and load marker in json format within an ajax call but when i click my button to load and show the map it needs some seconds to calculate the file, load the map and then displaying cluster or alone marker with autofit on the map...

So i want to display in the map canvas a "loading please wait..." message while the GMAP process take place but don't know how to do it?

If anyone has a solution?

Thx.

Offline

Ads
(server costs 27.50€ per month)


#2 2012-10-03 05:32:08

jbdemonte
Administrator
From: Pourrières, France
Registered: 2011-11-21
Posts: 580

Re: Waiting message when loading marker in cluster

manage it as you usually do in js, with another div over the map and then use callback to remove it

Offline

#3 2012-10-03 08:23:29

ludo2k
Member
Registered: 2012-10-02
Posts: 2

Re: Waiting message when loading marker in cluster

Tout à  fait, j'ai fait comme ça  c'est bon merci.

Offline

#4 2013-04-24 09:37:18

webstyle
Member
Registered: 2013-04-24
Posts: 2

Re: Waiting message when loading marker in cluster

jbdemonte wrote:

manage it as you usually do in js, with another div over the map and then use callback to remove it

Could you please explain it in detail? How can I use callback and on what event should I fire it?

Offline

Board footer

Powered by FluxBB