Google Maps API V3 errors after upgrading a WP plugin Google Maps API V3 errors after upgrading a WP plugin wordpress wordpress

Google Maps API V3 errors after upgrading a WP plugin


these error came because when we update wordpress,it doesnot update jquery-ui,so we need to insert code manually in the functions.php of our theme to update jquery-ui as well.I was also facing the same problem.It helped me.

    function new_google_map_script($post) {        wp_enqueue_style('admin-main', get_bloginfo('template_url') . '/css/admin-main.css');        //wp_enqueue_style('jquery-ui', get_bloginfo('template_url') . '/css/jquery-ui.css');        wp_enqueue_style('wp-jquery-ui');        wp_enqueue_style('wp-jquery-ui-dialog');    }    add_action('wp_enqueue_scripts', 'new_google_map_script');