Fixed the issue where the geolocation button won't stop spinning
Beginning work of handling read only layers.  Doesn’t compile.