Map center shift problem

Topics: Web Controls
Oct 14, 2008 at 11:38 PM
Hi all~
I'm begginer SharpMap.
I want to implement that the World map Wrapping pan… 
* map center shift problem-> when the map center shift to left, right conner become blank.
i want to fill the blank to map object which is a moved out of map area.


1. before shift

|          0000             |   
|0000       0000        |   
|                       1111|

" 4 space shift left to right"

2. after shift
|                 0000      |   
|      0000        0000 |   
|1111                       |

1111 shift to right conner to left conner.

Oct 15, 2008 at 9:54 AM
Hi opents, the easiest thing to do is to use SharpMap as a WMS server and use OpenLayers as the client. Otherwise you will have customize the sharpmap code, you would probably do it by stitching together two (or more) images, or offsetting the request so that the rendered image is unshifted, cutting it down the viewport edge and swapping  the resulting pair of images. Also see hth jd