• raitwebs

    (@raitwebs)


    I’ve been using a map with a radius function for a while now. And this morning I noticed it’s not working anymore. I’m centering on the currently logged in users coordinates and letting the user to change the radius as desired.

    Now when I look at the map as a guest, the map shows up, centered around the default coords and with no radius (displaying everything on the map)

    But when a logged in user looks at the map, the map does not get loaded at all. Although all the values are there for $latitude $longitude and

    This is how I’m loading it:

    <?php echo GeoMashup::map('map_content=global&radius_km='.$radius.'&near_lat='.$latitude.'&near_lng='.$longitude) ?>

    Has anything changed in the plugin that I should know of?

    http://wordpress.org/extend/plugins/geo-mashup/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dylan Kuhn

    (@cyberhobo)

    Sorry for the delay – my notifications stopped for some reason.

    I’m guessing the problem is that the query is not returning anything in the specified radius. You could add &show_empty_map=true to display a map anyway.

    If you just want to center on the coordinates, use center_lat and center_lng instead.

    Thread Starter raitwebs

    (@raitwebs)

    Thanks for the reply Dylan,

    I have over 600 locations spread over some 400 square kilometers. So if I set the radius to 100km it should display a good number of locations.

    I’m in process of some massive changes witht he site so I’ll just redo the maps from ground up while I’m at it. Will see if it makes a difference.

    Plugin Author Dylan Kuhn

    (@cyberhobo)

    I didn’t quite catch the logged-in/guest distinction with that answer. I don’t know of anything in GM that would be affected by that. While you’re rebuilding it would be worth making sure you still get the problem with other plugins deactivated. If so, I’d need to gather some more debugging information to figure out what’s wrong.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Geo Mashup] Radius has stopped working?’ is closed to new replies.