Project

General

Profile

« Previous | Next » 

Revision 6e9207ea

ID6e9207ea3f3c4fd58c5b2bd4c207e36d4ed2b459
Parent 723ad881
Child bb2f2cb9

Added by Chris Brumgard about 11 years ago

  • 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

Add picture from clipboard (Maximum size: 14.8 MB)