Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.5.4
- This topic has 1 reply, 2 voices, and was last updated 10 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
11/18/2015 at 2:37 pm #355557
Joe
GuestSteven,
In following up on the discussion, I have been working with the longitude, latitude and radius function. I resolved the radius limit issue by ensuring all Addresses are geocoded. That brings me to the next issue. On your example, scit.org, I think you Geocode the zipcode field to latitude and longitude, then pass that along with the Radius for the output. Is that correct?
Nevertheless, on the Edit Entry page, if you enter the address and click GeoCode, it retrieves the lat & long. How do I access or call that function? I’m thinking I can send the zip code to the function and retrieve the lat & long. I just need to know how to call the function and what variables to pass.
Thanks,
Joe11/18/2015 at 3:14 pm #355561Steven Zahm
Keymaster@ Joe
re: On your example, scit.org, I think you Geocode the zipcode field to latitude and longitude, then pass that along with the Radius for the output. Is that correct?
Correct. The JavaScript Google Geocoder API is being used to do the geocoding client side so that the 2500 rolling limit is very unlikely to be reached by the client. If this was done server-side via PHP it would be very likely that the limit would be reached and thus not function.
re: on the Edit Entry page, if you enter the address and click GeoCode, it retrieves the lat & long. How do I access or call that function?
This too is being done via JavaScript but with the Google Maps API using a jQuery plugin named goMap. The code can be found here. However, it is very unlikely you can leverage this code since it is really specific on its function. You could leverage this function to do server side geocoding but a word of caution… This will be completely ripped out within the next year and replaced with a far more capable API. My suggestion would be to copy the code that you need from it instead of relying on it directly.
Hope that helps!
pss. If you login to the forums, you’ll be able reply to you own posts even after I mark them as resolved as long as you were the user that created the initial post…
I’m going to mark the other thread as unresolved so you can continue posting under that one and closing this one so this discussion can stay in one thread.
http://connections-pro.com/support/topic/additional-dropdown-field/
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
