Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #26371

    hi there

    i was looking at this thread –

    https://kriesi.at/support/topic/google-map-styling

    and i just figured out how to create a custom marker, so wanted to share with anyone who may like to do the same

    this is for the enfold theme:

    open this file and go to line 1236 –

    wp-contentthemesenfoldframeworkphpclass-framework-widgets.php

    simply add in the line for icon, using your site’s absolute path

    var marker = new google.maps.Marker({

    position: latlng,

    map: map,

    icon: ‘http://mysite.com/img/marker.png’,

    title: ‘EKB Offices’

    });

    enjoy! jodi :)

    #130173

    Hey!

    Thanks. The next update (Enfold 1.8) will add an custom marker option and I also created an address search option which fetches the coordinates automatically :)

    Regards,

    Peter

    #130174

    excellent! when will that release be available, please? jodi

    #130175

    never mind! i see that it is available – will grab it now, thanks!

    #130176

    Hi,

    Please watch this video on how to properly upload the update via FTP. :)

    Please create a backup of theme files and database.

    Regards,

    Ismael

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Custom marker for Google map’ is closed to new replies.