Extracting function scope to avoid passing variables around
Extracting function scope to avoid passing variables around

Specifically, having to pass centerMapX and centerMapZ around
between all of the functions.

jstrait/webgl-city,jstrait/webgl-city