Documentation Wiki is Now Live! + New Countries Added in v.1.2.28

June 13, 2009 - By 

globe
Version 1.3 has the makings of something special. But, with more features, documentation always helps everyone to make full use of it.

Plus, the Wiki format (just like Wikipedia) allows for you to easily contribute your findings, fixes, or hacks to the Store Locator plugin — no login necessary.

Check Out & Contribute to the Store Locator Documentation Wiki:

Many of you have shown some amazing skill in your code contributions through email and in the forum. Please don’t hesitate now to contribute to the newly created Documentation Wiki here:
http://docs.viadat.com

 

Below are the Updated Countries in v1.2.28:

* Austria
* Japan
* Taiwan

Added Countries (as of v1.2.28):

* China
* India
* Hong Kong
* Kenya
* Liechtenstein
* Malaysia
* South Korea
* Thailand

Removed Country (as of v.1.2.28):

* Bosnia and Herzegovina (doesn’t appear to be working anymore)

10 Comments
  • I like your plugin and am working with it to create a locator page. I currently have 6,000 locations, so i don’t want to enter the data manually. I am importing the data into MySQL via CSV files, but I’ve been having a lot of trouble. Here are my main issues. Maybe you can shed some light on some or all of them.

    I have 1,693 records currently and it’s working. Is there any limit on the number of stores?

    I notice that you only have an index on sl_id. I’m concerned about performance. Would an index on sl_latitude a/o sl_longitude be useful? or something else?

    I’ve been adding records in groups, and sometimes Store Locator stops working when I do, but works again when I remove them. The data looks clean in both excel and a text editor. I haven’t been able to isolate one bad record yet (I’m working on that). What might cause this?

    I added a number of extra fields that I hope to be able to search on later, and that isn’t causing any trouble with the 1,693 records I have so far.

    Is, or will there be a way to have different icons for different locations based on field contents? I’d like to show all the stores in the selected area with the default icon, and then use a different color icon for stores that have a particular feature that all of them don’t have.

    How do you determine the center of the map for the initial display. I’d like to have it based on the location of the end user, based on his/her IP addr. Do you have plans to add that?

    Thanks again for this plugin, it’s going to make a big addition to my blog when my page is ready

  • It’s still not working with some data, but I have additional info. I was able to narrow down the non working records to one (many of these that don’t work) and if the record is in the db the map in WP fails and if it’s not, the map page works.

    What I noticed is that on the record that causes the failure the Lat & Long have 7 digits after the decimal and the ones that work all have 6 or less. I can see no apparent reason for this in the data, as there seems to be noting special about this record. I’ll verify if the other bad records are also getting 7 decimal places.

  • I was a little premature on the 7 digit thing. Your geocoder does occassionally put in 7 digits after the decimal, with the last digit a zero, but if I put in the same record with 6 digit decimals it still breaks the display page.

    I’ve checked my data every way I can think of and it’s clean. Are there any limitations in your plugin? Max locations, max DB size, nothing in California, etc, etc?

  • I deleted the CA record that caused the problem and the map page worked again. I added it back again but this time w/o Lat & Long. The map would display, but the store did not appear on the map and in manage locations that record was highlighted with a colored background, with no Lat & Long. I clicked on Edit, the Update and a Lat & Long were now present, but the map page was now broken. Help.

  • If the location is not geocoding (meaning, it’s not being completed with a latitude and longitude) that means that the address is not currently recognized by Google’s geocoding service (which we don’t control, but is applied for each location).

    Your best bet is to leave the location off until you are able to find the correct address for it that is recognized by Google’s geocoder. Try not to let one location cause the entire map not to work.

    Please, feel free to share the problematic address here in the comments

  • Thanks for responding. It’s not one address, but many. Actually, since the problem occurred I haven’t been able to add records that don’t break the map.

    I’ve been using phpMyAdmin to add records in batches. The records were created in Excel and checked in my text editor after the CSV files were written out. I was geocoding the address data before adding it, and that worked for the 1st 1600 or so records. I’ve tried many things since then to figure out what exactly is happening so I can get around it, but so far no luck.

    My project is worthless without all the records. I could easily get by with a very small portion that had issues that I could work on individually to repair, but at this point I can’t get any additional records to work. I’m stumped.

    I appreciate any assistance you can give, and if you’d like to take this conversation offline I’m fine with that.

  • I only want the map to show the particular location on the map. Not the every single address on the map.

    How do I indicate this?

    is it [storelocator=1] or something?

    Thanks

  • Great plugin. Glad you’re back. I’m considering using this (It’s the best thing around), but want to map WP_Posts based on data in custom fields (possibly using Supple Forms plugin).

    I’m wondering what would be necessary to have the admin and other pages point to the posts table (with the appropriate fields) instead of the SL table? I’m assuming I could just assign some variables to accomplish most of this.

    Does this sound possible?

    My goal is to create individual pages for each of my locations and then take advantage of plugins designed to work with posts, which I’m not sure would be possible by just generating a PHP template filled by the SL table data.

    Any thoughts would be appreciated.

    • Yes, there could be a number of ways to accomplish this. You could use the DB Importer to pull in the data to the Store Locator Table. Otherwise, it looks like you would need to create your own queries throughout the files for the store locator code.
      However, individual posts for each location will be available once version 1.3 is released, which will be very soon.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    Search

    Cart

    • Your cart is empty.