In order to add a raster image to the map at the bottom dynamically, I use the different choices.
First I add this layer to the bottom layer group (I have Base layer Group), I found the default is always On which is not I want it to be. AIMS studio, Maestro or setting in xml like below (Visible: false) cannot make it NOT display at initial view.
Second I use MgResourceService, MgResourceIdentifier to point to the Resource ID (similar like
Any suggestion and quick fix for this problem? Thank you.
The easy way to do this job is set the group layers invisible if possible, then toggle the group on or off. But if I put the layers inside the Base Layers, there's no option to set layers visible or invisible. This is the reason that Base Layers Group will always visible in the map at initial view.
The other choice is dynamically set the visibility scale. For example, in Maestro/Studio we set it always invisible, when we want it visible, we change the visibility scale, popup a textbox to accept the scale to be visibility. But I am not sure if the API will allow me to do that.