I looked on similar questions but in vain. The map is working fine but has a center of (0,0) as returned in the Firebug console not (-8, 32) that I want. I did the projection transformation.. Here is my code :

|
I looked on similar questions but in vain. The map is working fine but has a center of (0,0) as returned in the Firebug console not (-8, 32) that I want. I did the projection transformation.. Here is my code :
|
||||
|
|
|
i am curious about that have you tried setMapObjectCenter method for solving this problem.
i hope it helps you... |
|||||||||||
|
|
Actually, I had to give a look on GeoExt Documentation as well especially the class GeoExt.mapPanel link here. The center of the map and the initial zoom must be specified in there and it worked finally:
|
|||
|
|