Support multiple object types for map center

Fixes #247 
nice