added location layer to front for  use with plugins