Hi Guys,
Im building a fairly large public blog at the moment with k2 and one requirement is that a user must be able to refine their search by location or preferably the returned results are ordered by location (closest first). Every item will have a postcode and this will be stored within an extra field.
I wondered if anyone on here had come up against anything like this and could give me some directions as to where to start. Ive looked at the google maps api but there are some fairly restrictive limits in terms of usage, is there a better way to achieve this? Is there an extension that already does this (ive looked on JED but cannot see anything)? Or is there another service which may be better than googlemaps?
One thought i did have was to create another table in the db, workout and store the long lat values of the postcodes on content input and then do a calculation within the search (before returning the results) which would determine the ordering of the results. Is this even possible?
Cheers,
Pastey
Im building a fairly large public blog at the moment with k2 and one requirement is that a user must be able to refine their search by location or preferably the returned results are ordered by location (closest first). Every item will have a postcode and this will be stored within an extra field.
I wondered if anyone on here had come up against anything like this and could give me some directions as to where to start. Ive looked at the google maps api but there are some fairly restrictive limits in terms of usage, is there a better way to achieve this? Is there an extension that already does this (ive looked on JED but cannot see anything)? Or is there another service which may be better than googlemaps?
One thought i did have was to create another table in the db, workout and store the long lat values of the postcodes on content input and then do a calculation within the search (before returning the results) which would determine the ordering of the results. Is this even possible?
Cheers,
Pastey