Undefined index error prevents google map from displaying