I have my locator set up here: https://cocopolo.com/store-locator and it is working well for the most part. Very helpful module to have!

But there is an issue when some locations are entered in word-format. Now, the MAP always works fine, but the stores list does not.

If I use ZIP codes it works fine consistently. But if I type in "Denver, CO" (even if I select what came up in the location dropdown from Google) the stores list does not change. Only the map changes.

However, some locations work, like Philadelphia, PA.

Any ideas?

Chris

CommentFileSizeAuthor
#8 search-rome.png428.9 KBNoemi
#8 default.png575.82 KBNoemi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

innovafire’s picture

Issue summary: View changes
innovafire’s picture

Anyone have an idea about this?

rodrigoeg’s picture

Status: Active » Postponed (maintainer needs more info)

Hi innovafire,

I have tested with the address "Denver, CO" in https://cocopolo.com/store-locator and the store list was updated accordingly.
Could you please check again if this error is still happening?

Noemi’s picture

I looked for information about this bug for quite some time and now I found this issue.
I'm debugging a website that shows the same bug. This is the site: http://www.seitron.com/it/store-locator1.
If I enter location as "Rome, Metropolitan City of Rome, Italy" or "Milan, Metropolitan City of Milan, Italy" all work fine, but if I enter "Rome Italy" or "Milan Italy" list doesn't update, just map does.
I just tried to update to latest releases of Google Store Locator and GeoJSON, but nothing works anymore (list and map don't update). Also tried to update Geocoder to insert a Maps API Key, but with no luck.

rodrigoeg’s picture

Sorry for the delay to reply.

@Noemi, can you reproduce this issue after reload the page (the first search after page load)? Are the pinpoints showing normally on the map after searching for "Rome Italy" or "Milan Italy"? Could you please attach a screenshot of this error?

I think I might found the issue after some trials, but I am not sure if it is another issue. Sometimes the list has some delays to reload and it appears it is related with concurrency of multiples searches (or map update/move) being executed in parallel. If I move the map and try to search by other region without waiting some seconds, the map is being updated with the new search, but not the list.

@Noemi, if you are trying to update to module, probably you need to go to views configuration page of GeoJSON and revert it to the default version. After that, clear all caches. Please create a backup or try it in a testing environment before applying to production.

Noemi’s picture

Hi @rodrigoeg,
thanks for your reply. I'm not working on this project anymore (client needs a custom solution), but I can provide the info you requested, if still useful.

rodrigoeg’s picture

Hi @Noemi,
Yes, it will be very useful if you could please send me this info. I am still strugling to find what is this issue. The screenshots will be very helpful.

Noemi’s picture

FileSize
575.82 KB
428.9 KB

Hi @rodrigoeg,
I made a couple of screenshots of the production website.
The first one is the page as default, before any search.
Page default

This one is after searching "Rome, Italy". You can see the map updated, but not the list.
First search

Unfortunately, I don't have the site code in my local environment anymore (and the client is no more a client of mine), so I can't test the modules update. :(

rodrigoeg’s picture

Status: Postponed (maintainer needs more info) » Active