marker can find nearest field index