datadavev / DwC_views

Implements viewers for Darwin Core record repositories
1 stars 0 forks source link

DwC JQuery Client - Map View: Initial Center & Zoom #36

Closed coreyo closed 13 years ago

coreyo commented 13 years ago

When the map is initialized (or receiving a new filter or record set), the map should center itself between the markers and zoom appropriately.

datadavev commented 13 years ago

The map view should maintain state, so that when a user flips between the records view and map view, the map view should retain the previous extents unless a new filter has been specified by the user changing the result set to be displayed.

coreyo commented 13 years ago

The initial implementation of this was easy, however, coordinating this with regular "idle" event dynamic marker loading proved challenging.