Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter daddeaux

    (@daddeaux)

    i got it…
    window.onload=function(){
    var map = flxmap_map100.getMap();
    google.maps.visualRefresh = true;
    };

    Question.. this would not work with your jquery code, is jquery enabled by default?
    This is my second day using WordPress.

    Plugin Author webaware

    (@webaware)

    G’day daddeaux,

    I’ll add it as an option in the next release. As to why no jQuery: I wrote this plugin to run without jQuery, so that sites that didn’t want to load that script could still have maps. If you want jQuery in WordPress, just enqueue it in your plugin or theme:

    add_action('wp_enqueue_scripts', 'my_load_jquery');
    function my_load_jquery() {
        wp_enqueue_script('jquery');
    }

    See here for more information: http://codex.wordpress.org/Function_Reference/wp_enqueue_script

    Plugin Author webaware

    (@webaware)

    @daddeaux: visual refresh is now an option in v1.7.0

    cheers,
    Ross

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Visual Refresh’ is closed to new replies.