Name
RefreshLayer -- refresh a layer (V10.0)
Synopsis
RefreshLayer(id)
Function
This function refreshes the layer or layer group specified by id. This is normally not needed because Hollywood will refresh layers automatically whenever it is needed. There is one exception, though: Due to performance reasons, merged layers created using MergeLayers() won't be refreshed automatically when the graphics of one of their source layers change. Thus, you must manually tell merged layers to refresh by calling RefreshLayer() on them whenever you want them to refresh their graphics and that's the reason why this function exists.

You need to enable layers before you can use this function. See Layers introduction for details.

Inputs
id
identifier of the layer or layer group to be refreshed

Show TOC