WordPress.org

Ready to get started?Download WordPress

Forums

SimpleMap Store Locator
[resolved] [Plugin: SimpleMap] Couple things I noticed with 2.0 so far. (7 posts)

  1. T Klein
    Member
    Posted 3 years ago #

    The 100/500/1000 mile search doesn't seem to work. I check the category and then search around my hometown for a town thats about 80 miles away where we have one of our locations and it doesn't show up. I've tried this with multiple locations and it just seems like it doesn't work for any.

    Things I don't like:

    Removing the # of miles each location is away from the location that you searched. I liked that feature not sure why it was removed.

    Removing the "Get Directions" link from the search results, I can see how its redundant but its a real easy thing to see for people that don't understand that you can click the search results then click get directions, you're adding an extra click in there that most people won't understand, at least on the site I'm using it for.

    The new update is AWESOME though none the less, great job guys! I'm going to try and convince my boss to invest 30 bucks in the premium support.

  2. Glenn Ansley
    Member
    Plugin Author

    Posted 3 years ago #

    Hey - Thanks for the post. Looks like you found a couple bugs. We'll look into this. Our goal was not to remove any functionality but as you can see it was a LARGE update and completely refactored. Some things slipped past our beta testers. I'll keep you updated.

  3. Glenn Ansley
    Member
    Plugin Author

    Posted 3 years ago #

    All of the above bug reports have been identified and corrected. Looking to deploy an update to fix these today or tomorrow.

  4. T Klein
    Member
    Posted 3 years ago #

    oh, and custom map markers. I used custom code I found on the forums for custom map markers for certain categories. Is there a way to do that in this new version?

    function createMarker(point, name, address, address2, city, state, zip, country, homeAddress, url, phone, fax, special, category, tags, description) {
    	var letteredIcon = new GIcon(G_DEFAULT_ICON);  
    
    if (category == '1') { letteredIcon.image = "http://www.sitename.net/wp-content/plugins/simplemap/images/yellow.png"; } 
    
    if (category == '2') { letteredIcon.image = "http://www.sitename.net/wp-content/plugins/simplemap/images/orange.png"; }
    
    if (category == '3') { letteredIcon.image = "http://www.sitename.net/wp-content/plugins/simplemap/images/green.png"; }
    
    if (category == '4') { letteredIcon.image = "http://www.sitename.net/wp-content/plugins/simplemap/images/lightblue.png"; } 
    
      markerOptions = {icon:letteredIcon};
      var marker = new GMarker(point, markerOptions);

    I used this in the functions.js.php file in the old version around line #194

    or is there an easy way to integrate this into the new version?

  5. Glenn Ansley
    Member
    Plugin Author

    Posted 3 years ago #

    Funny you should mention that. I'm working on it right now. Have it pulled up in my editor actually :)

    http://twitter.com/glennansley/status/19428443363999744

  6. T Klein
    Member
    Posted 3 years ago #

    Haha thats funny, not a big deal to me.

    Though heres another problem I seem to be having:

    It also seems that if I select more then 1 category I get 0 results found. But if I select one category at a time I get the results.

  7. Glenn Ansley
    Member
    Plugin Author

    Posted 3 years ago #

    That's because its an AND search, not an OR search. Meaning any results have to have all checked categories.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags