Add an updateSize method

We need a non-private/protected method to call when the map viewport size changes.
Merge pull request #532 from tschaub/update-size

Add an updateSize method.  Application code should call this when the map viewport size changes by some method other than a window resize.