Location Page – Map Zoom Error and Listing Sorting Error
This topic contains 18 replies, has 3 voices, and was last updated by Kiran 4 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: location, location page, map zoom
-
AuthorPosts
-
December 10, 2019 at 2:39 pm #520811
Hey guys!
First, I did try reading through some of the support docs, and either the other people didn’t have the same error, or I couldn’t tell due to hidden content.
Second, my location page doesn’t have the right zoom and the posts are listed by a featured/recommended order.
Here’s the page: https://www.cigarscore.com/location/near/me/35.1536575,-106.49950039999999/
I’ve tried resetting to the default short codes, and the problem was still there.
Zoom: The map’s zoom level is either the entire globe, or it’s too close and in the wrong area.
Sorting: the listings are sorted by distance, which is nice, but I want my paying customers to be shown first.
Also, the default short codes in the GeoDirectory settings page show short codes with ‘xyz’ and the new shortcode builder shows them with “xyz” – the parenthesis are different and I don’t know which one is the right one.
Thanks all!
December 10, 2019 at 11:40 pm #520860Hello,
On your Location page, you can use any combination of GD Listings to show listings. You can even set them as featured only. However, the sort order will always be distance, nearest first, just like near search results.
For shortcodes, either ” or “” will work.
For the map zoom, that is usually best left to automatic, as it will zoom automatically to include all locations, with the center of the map being the center of the locations returned.
If all the locations are in the west side of the radius, the zoom would seem to be off center, yes.
December 12, 2019 at 6:29 pm #521247Alex, did you click on the link?
This link (https://www.cigarscore.com/location/near/me/35.1536575,-106.49950039999999/)
has 6 listings on it, all within 24 miles of my GPS location. However, the map shows the entire western half of the United States. The zoom is set to “5”. Whenever I changed the zoom level to “0” or auto, it shows the whole country.
December 13, 2019 at 9:43 am #521321If all the locations are in the west side of the radius, the zoom would seem to be off center, yes.
Adjust the radius in the search settings.
https://wpgeodirectory.com/docs-v2/geodirectory/settings/general/#search
Maybe set it for 20? 40?
If that isn’t the issue then please write back with WP Admin and we will check it out.
December 17, 2019 at 4:18 pm #521964That didn’t fix it. I also updated to the latest release of GeoDirectory and cleared my cache.
I’ll post login credentials below.
December 17, 2019 at 4:20 pm #521966This reply has been marked as private.December 17, 2019 at 6:48 pm #522006The developers will take a look.
December 19, 2019 at 2:05 pm #522376Hi Ellory,
Please provide FTP credentials to look into more.
Google map shows following error in console.
You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started
Kiran
December 19, 2019 at 3:02 pm #522384This reply has been marked as private.December 19, 2019 at 3:02 pm #522385I just sent my FTP credentials.
Do we have to pay for Google Console or Google Cloud to get full functionality from GeoDirectory?
December 19, 2019 at 8:03 pm #522438You must have billing enabled on the API key project, yes. Please enable it and let us know.
December 19, 2019 at 8:40 pm #522448I created a fresh Google API key and enabled billing.
December 20, 2019 at 6:03 am #522506Hi Ellory,
Google map billing issue fixed with new API key.
FTP credentials are not working. It shows following error:
Response: 530 Login authentication failed Error: Critical error: Could not connect to server
Regards,
KiranDecember 20, 2019 at 3:06 pm #522572This reply has been marked as private.December 26, 2019 at 12:39 pm #523053Hi Ellory,
Issue has been fixed. There was issue in validation in longitude value with minus sign(Ex: -106.). We have fixed this issue and it will be in next release.
Please apply this patch https://github.com/AyeCode/geodirectory/commit/2cd2b4abf5c5e697caa05674067571a8f6a2858b
OR
Provide FTP credentials again because FTP credentials are working fine but FTP account does not have access to public_html(WordPress root) folder, it shows empty directory. Please provide access to WordPress root directory to the FTP account.Regards,
Kiran -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket