WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: SimpleMap] Couple things I noticed with 2.0 so far.

[Resolved] [Plugin: SimpleMap] Couple things I noticed with 2.0 so far.

  • T Klein
    Member

    @tklein87gmailcom

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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.

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

    T Klein
    Member

    @tklein87gmailcom

    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?

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

    T Klein
    Member

    @tklein87gmailcom

    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.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: SimpleMap] Couple things I noticed with 2.0 so far.’ is closed to new replies.