Fix links, reduce code complexity.
Reduce complexity in GoogleMap namespace.