I added a new method for calculating the current bbox coords. I used the map resolution and div element dimensions to calculate the x,y values of the map bounds. The shareLink and changeToSingleLayer function should accurately capture the current map bounds now.
I added a new method for calculating the current bbox coords. I used the map resolution and div element dimensions to calculate the x,y values of the map bounds. The shareLink and changeToSingleLayer function should accurately capture the current map bounds now.

Also, during testing, I noticed that final API zoom level from bbox coords that are passed, needs to be zoom - 1.


git-svn-id: 3b4b84547dfdca3638583abe8533e8c649d4f491@21098 b630af17-092b-0410-afba-a002956477a4

radiantbluetechnologies/omar,radiantbluetechnologies/omar,radiantbluetechnologies/omar,radiantbluetechnologies/omar