I have to design a website where users will be interacting with a map in depth. One feature is a "nearby" lat/lon searching capability.

I'm planning to use the MySQL spacial indexing features, but I have no idea how they function.

Can anyone fill me in?

Thanks