modestmaps-js icon indicating copy to clipboard operation
modestmaps-js copied to clipboard

add a callback for layer changes

Open RandomEtc opened this issue 13 years ago • 2 comments

To synchronize UI elements describing layers?

(updated title, was: "[layers-merge] do we need a layer-change callback?")

RandomEtc avatar Nov 18 '11 17:11 RandomEtc

I don't think so, unlike the purpose of the rest of the callbacks, layer changes are always started by user code, so the developer will always know & be able to call a callback themselves.

tmcw avatar Dec 07 '11 21:12 tmcw

Heh. I shouldn't have made the issue title a question :) It's not a show-stopper to leave this out, and it's an easy (non-bloating) addition in 1.x whenever someone needs it. Dropped from the milestone but left open.

RandomEtc avatar Dec 08 '11 00:12 RandomEtc