Cache getUrlVars() return value.
Add maptype option to url. getUrlVars() to return empty array not url.