#4317 migrate to gmaps version 3
#4317 function argument bug fix