It looks to me that you are passing a string for
"google.maps.MapTypeId.TERRAIN" instead of the javascript constant.

Try new JSONLiteral("google.maps.MapTypeId.TERRAIN")

Reply via email to