Forums

[resolved] [Plugin: WP Geo] Markers not appearing (5 posts)

  1. spinetrak
    Member
    Posted 3 years ago #

    I installed WP GEo 3.0.3 yesterday and markers were not appearing untill I manually copied them over to wp-content/uploads/wp-geo/markers/ (after creating these directories).

    After upgrading to 3.0.4 today, markers disappeared again, and Firebug is showing me two errors:

    wpgeo_createIcon is not defined
    wpgeo_createMarker2 is not defined

    whenever I load a page with a google map craeted by wp-geo

    Awesome plugin though!

  2. spinetrak
    Member
    Posted 3 years ago #

    nevermind, this was due to a misconfig of my server, problem solved. sorry for the noise.

  3. kenwalker
    Member
    Posted 3 years ago #

    One gotcha with this plugin: it doesn't work unless WordPress is installed at the root. I've got mine at /w, so I had to change the following line in wp-geo-markers.php:

    var $marker_image_dir = '/wp-content/uploads/wp-geo/markers/';

    to look like this:

    var $marker_image_dir = '/w/wp-content/uploads/wp-geo/markers/';

    If I was smart, I'd figure out how to properly use the get_bloginfo('wpurl') function and submit a patch. :)

    K

  4. Ben Huson
    Member
    Posted 2 years ago #

    I have implemented the get_bloginfo('wpurl') fix in version 3.0.6.2 which I will release in the next few days.

  5. tysoncecka
    Member
    Posted 2 years ago #

    @spinetrak I'm getting these errors too:

    wpgeo_createIcon is not defined
    wpgeo_createMarker2 is not defined

    What did you do to remove them and get the markers to work?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags