@ 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/
