Hi,
I have same problem 1 year ago. I have use a macro which defined my area. I copy the macro to all layers by used the storage copy window, before build effects. And now I only using the defined number for my mapped area.
My macro view here.
Change the first lines for your area and ready.
Code:
@scriptname="";
@author="dieter";
@version="";
@description="macro map preset";
// problem: is map window open, do not refresh the window, close and open help
//
//const int MAP_PRESET=0;// no mapping
//const int MAP_PRESET=1;// top
//const int MAP_PRESET=2;// right
//const int MAP_PRESET=3;// left
const int MAP_PRESET=4;// right bottom
//const int MAP_PRESET=9;// do nothing
void InitEffect(){
switch(MAP_PRESET){
case 0: MapEffectVector(0.0,0.0,1.0,1.0);break;
case 1: MapEffectVector(0.0,0.0,1.0,0.5);break;
case 2: MapEffectVector(0.5,0.0,1.0,1.0);break;
case 3: MapEffectVector(0.0,0.0,0.5,1.0);break;
case 4: MapEffectVector(0.5,0.5,1.0,1.0);break;
case 9:break;
default:break;
}
}
void PreRenderEffect(){}
void PostRenderEffect(){}
void MatrixSizeChanged(){
InitEffect();
}