Revision 6e9207ea
- Fixed google map viewport issue (see task 4138).
- Added a method, afterRender, to MapsView.js that is called after the render method to correct problems with the map’s viewport and positioning. AfterRender triggers a google map resize event and sets the bounds, center and zoom level of the google map.
- Added 3 google map listeners to record bounds, centers and zoom level changes for use by afterRender.
- Changed the renderMap method to setup a call to afterRender after the render call stack has completed using underscore’s defer method.
- In addition to fixing the “centering” issue with gmaps, these changes also preserve the gmap appearance (center, bounds and zoom) between views.
Files
- added
- modified
- copied
- renamed
- deleted