Forums

[Plugin: WP Geo] Remove lines connecting markers? + sidebar error (3 posts)

  1. sofimi
    Member
    Posted 1 year ago #

    How can you remove the connecting lines between the markers? I managed to do so on wp-geo.php with $map->show_polyline = true; but the code for the widget is different and I seem to be crashing the plugin when I edit the wp-geo-widget.php.

    Related: I wanted to put $wpgeo->categoryMap(); on the sidebar but I get an error: "Fatal error: Call to a member function categoryMap() on a non-object".

    What's odd is that it displays on my home.php file but I didn't use get_sidebar() there.

    The only way I get it to show is using the sidebar widget, but I wanted to remove the lines on the map. Which brings me back to my first question. :)

  2. husobj
    Member
    Posted 11 months ago #

    I have added the request to turn off polylines in the widget to the issues list:
    http://code.google.com/p/wp-geo/issues/detail?id=76

    Regarding using categoryMap in the sidebar, try specify that $wpgeo is global - that might work:

    global $wpgeo;
    $wpgeo->categoryMap();
  3. husobj
    Member
    Posted 10 months ago #

    In WP Geo 3.0.7 there are now settings to control polylines both in the WP Geo general settings and when configuring the widget.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags