Hi all,
I was wondering if it is possible to determine and maintain a fixed extent to a map while animating. After running the following script, if you press the Play button you can see that for each Storm Category the background mapsâ position changes. I would like to keep the background map constant while the animation goes ahead.
Thanks!
dt = Open( "$SAMPLE_DATA/Hurricanes.jmp" );
New Window( "Map",
Graph Builder(
Auto Stretching( 0 ),
Variables( X( :Longitude ), Y( :Latitude ) ),
Elements( Contour( X, Y, Legend( 5 ), Number of Levels( 0 ) ) ),
Local Data Filter(
Location( {290, 21} ),
Add Filter(
columns( :Storm Category ),
Where( :Storm Category == "TD" ),
Display( :Storm Category, Size( 204, 264 ), List Display )
),
Mode( Select( 0 ), Show( 1 ), Include( 1 ) ),
Animation( Animate Column( :Storm Category ) )
),
SendToReport(
Dispatch(
{},
"Graph Builder",
FrameBox,
{Background Map( Images( "Simple Earth" ) ), Grid Line Order( 2 ), Reference Line Order( 3 )}
)
)
)
);