Added GoogleDirections request.
Fixed writing map weight.