Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    I’m sorry. I don’t understand your question. But if you want change the infowindow’s appearance, you only should change the related styles in the cpm-styles.css file.

    Best regards.

    Thread Starter mrkaczor

    (@mrkaczor)

    I have an example:

    here is the map: https://www.zielonepodkarpacie.eu/mapa/

    Here is the screen with marked link desc of the point that I would like to change: https://www.zielonepodkarpacie.eu/wp-content/uploads/2014/08/1.png (it is shown on hover – on clik you have standard bubble)

    PS. Is there a way to show bubbles on hover?

    Plugin Author codepeople

    (@codepeople)

    Hi,

    The tooltips associated to the markers are controlled by Google Maps, but if you want hide them, follow the steps below:

    1. Open the “cpm.js” file, located in “/wp-content/plugins/codepeople-post-map/js/cpm.js”, with the text editor your choice.

    2. Go to the snippet of code:

    title:((m[i].address) ? me._str_transform(m[i].address) : ”)

    and edit it like follow:

    title:”

    3. Finally, clear the browser’s cache, and test again your website.

    Best regards.

    Thread Starter mrkaczor

    (@mrkaczor)

    Hi, I don’t have such a code there.

    Only in function ” _createMarker : function” i have “title:title”

    there is also:

    “var marker = me._createMarker( m[i].latlng, map, m[i].icon, ( ( m[i].address ) ? me._str_transform( m[i].address ) : ” ), m[ i ] );”

    but I tried to change it to:
    ” var marker = me._createMarker( m[i].latlng, map, m[i].icon, m[i].title , m[ i ] );” but then hover don’t show.

    I have pro version 1.0.1.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    If you are using the pro version of plugin, and you want hide the tooltip, you only should edit the cpm.js file, and modify the snippet of code:

    title:title

    like follow:

    title:”

    Please, the questions related with the pro version of the plugin, should be treated through our support page:

    https://wordpress.dwbooster.com/support

    Best regards.

    Thread Starter mrkaczor

    (@mrkaczor)

    I don’t want to hide it but show post title instead of address. I will mail the question.

    Plugin Author codepeople

    (@codepeople)

    Hi,

    I’m sorry for delay, in this case you should replace the snippet of code:

    var marker = me._createMarker( m[i].latlng, map, m[i].icon, ( ( m[i].address ) ? me._str_transform( m[i].address ) : ” ), m[ i ] );

    by

    var title = me._str_transform( $( m[i].info ).find( ‘.title’ ).text() );
    var marker = me._createMarker( m[i].latlng, map, m[i].icon, title, m[ i ] );

    and clear the browser’s cache.

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Icon hover change seting’ is closed to new replies.