add pan operation for mouse, but maybe consume lots of memory due to we
static drawing a map graphic about 2048*2048 to cache