This bit of code illustrates how to fix it using the center_longitude=0 phrase
pro awesome_maps
compile_opt idl2
map1 = MAP('Geographic', $
LIMIT=[35.50, -6.2 , 36.2 , -4.8], $
FILL_COLOR='light_blue', $
WINDOW_TITLE='High Res', layout = [1,2,1],$
title = 'Incorrect Hi-Res Map')
grid1 = map1.MAPGRID
grid1.LINESTYLE = 'dotted'
grid1.LABEL_SHOW = 0
m1 = MAPCONTINENTS(FILL_COLOR='beige', /hires)
;wait, 3
map2 = MAP('Geographic', $
LIMIT=[35.50, -6.2 , 36.2 , -4.8], $
FILL_COLOR='light_blue', $
WINDOW_TITLE='High Res',center_longitude=0, $
layout = [1,2,2], /current, $
title = 'Correct Hi-Res map')
grid2 = map2.MAPGRID
grid2.LINESTYLE = 'dotted'
grid2.LABEL_SHOW = 0
m2 = MAPCONTINENTS(FILL_COLOR='green', /hires)
end
|