From a7ffc0d835ecccdcab23c3deba8510578a094cfd Mon Sep 17 00:00:00 2001 From: Repellent Date: Sun, 4 Dec 2016 17:43:22 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=BE=D1=88=D0=B8?= =?UTF-8?q?=D0=B1=D0=BA=D0=B8=20"initMap=20is=20not=20a=20function"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gmap/templates/map.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gmap/templates/map.tpl b/gmap/templates/map.tpl index ad0d31c..ae3b0d4 100644 --- a/gmap/templates/map.tpl +++ b/gmap/templates/map.tpl @@ -11,6 +11,9 @@ '<\/script>' ); {rdelim} + window.initMap = function(){ldelim} + //фикс ошибки "initMap is not a function" + {rdelim} loadMapsAPI();