WordPress.org

Support

Support » Plugins and Hacks » Events Manager » [Resolved] Google Marker

[Resolved] Google Marker

  • Hi all!,

    I’ve tried to change a google marker but I failed 🙁

    I used this code:
    var image2 = ‘http://www.4cf.pl/2.0/wordpress/wp-content/uploads/2013/05/restaurant.png’;

    and add a line in:
    var marker = new google.maps.Marker({
    position: em_LatLng,
    icon: image2,
    map: maps[map_id]

    but i didn’t work. I add those lines in both js files (events-manager.js and events-manager-source.js) because I didn’t know which was the correct one. I’ve seen that marker declaration appeard more than once (in e-m.js in lines 741, 773, 846 and in e-m-s.js in lines 779, 927,962).

    I also tried to add marker.setIcon(“http://www.4cf.pl/2.0/wordpress/wp-content/uploads/2013/05/restaurant.png”);

    I do not know what I’m doing wrong or what I’m missing.

    Any thougths?

    http://wordpress.org/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Google Marker’ is closed to new replies.
Skip to toolbar