Tag Info

New answers tagged


Since you are a student, I will not give you the complete code, however here is a a way to do it: var totallayers; totallayers = map.layers.length; gives you the total number of visible layers So, simply get the Total Number of Layers as above then use a JavaScript Timer to call a function that increments the current layer counter, resets it to zero when ...

Top 50 recent answers are included