Fix regression where map was not set with the configured WKID.
Merge branch '#131/fix-setting-map-spatial-reference' into develop