Support

Account

Home Forums Front-end Issues Unable to add custom marker image to Goolge map Reply To: Unable to add custom marker image to Goolge map

  • After adding an image like this

    icon: 'http://www.mysite.com/myicon.png'

    It doesn’t update anything until I change the number in the code below, for example, 3.6.0.

    wp_enqueue_script( 'google-map', get_stylesheet_directory_uri() . '/maps.js', array( 'jquery' ), '3.6.0', true );

    Change another number, for example 1.1.0, 2.1.0, also shows my history change. Why is that?