hi
i have a application in which i want to get the zipcode or search based on the zipcode.when the users give the radius and a particular zipcode..i want to get the zip code based onthe radius .please tell me how to do that..
thanks
queenc
-1
Junior Poster
Recommended Answers
Jump to Postwhy do you need to get the zip code when they are giving it to you?
Jump to Postyou have to use a formula to calculate the distance based on latitude and longitude. Once you have the distance you can use it to return all of the zipcodes within that radius. You should be able to find it online, otherwise I will post the code when I am …
Jump to Postyou have to loop through the zipcodes and calculate their distance from the current location and see if they are below the specified radius.
All 11 Replies
somedude3488
228
Nearly a Posting Virtuoso
queenc
-1
Junior Poster
queenc
-1
Junior Poster
somedude3488
228
Nearly a Posting Virtuoso
queenc
-1
Junior Poster
somedude3488
228
Nearly a Posting Virtuoso
queenc
-1
Junior Poster
somedude3488
228
Nearly a Posting Virtuoso
queenc
-1
Junior Poster
somedude3488
228
Nearly a Posting Virtuoso
queenc
-1
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.