added flag for map readiness; logs to locationArray only after map is re...

...ady